summaryrefslogtreecommitdiff
path: root/graphics/gkrellkam2/Makefile
blob: 6cf0dfb70b4ae23555e9f0bbea0f2e1326fd3407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$

PORTNAME=	gkrellkam
PORTVERSION=	2.0.0
PORTREVISION=	12
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${PORTVERSION}
PKGNAMESUFFIX=	2
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GKrellM plugin that display thumbnails of periodically updated images

LICENSE=	GPLv2+

BUILD_DEPENDS=	gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=	gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USES=		gmake pkgconfig

PLIST_FILES=	libexec/gkrellm2/plugins/gkrellkam2.so \
		man/man5/gkrellkam-list.5.gz

post-patch:
	@${REINPLACE_CMD} -e \
		's|gcc|$$(CC)|' ${WRKSRC}/Makefile

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
	(cd ${WRKSRC} && ${INSTALL_LIB} gkrellkam2.so \
		${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins)
	(cd ${WRKSRC} && ${INSTALL_MAN} gkrellkam-list.5 \
		${STAGEDIR}${MAN5PREFIX}/man/man5)

.include <bsd.port.mk>