summaryrefslogtreecommitdiffstats
path: root/x11-clocks/alltraxclock/Makefile
blob: 6a9339d20552aea281a1ad1586bf7d63e8cd2746 (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
# New ports collection makefile for:	alltraxclock
# Date created:				11 Feb 2004
# Whom:					Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD$
#

PORTNAME=	alltraxclock
PORTVERSION=	2.0.2
PORTREVISION=	3
CATEGORIES=	x11-clocks
MASTER_SITES=	http://perso.wanadoo.fr/alltrax/
DISTNAME=	${PORTNAME}2_0.2-1

MAINTAINER=	novel@FreeBSD.org
COMMENT=	An analog clock plugin for gkrellm2

BUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2

USE_REINPLACE=	yes
USE_X_PREFIX=	yes

ALL_TARGET=	alltraxclock.so
PLIST_FILES=	libexec/gkrellm2/plugins/alltraxclock.so
WRKSRC=		${WRKDIR}/${PORTNAME}2_0.2/

post-patch:
	@${REINPLACE_CMD} -e 's|gcc|${CC}|;s|-O2||;s|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${PREFIX}/libexec/gkrellm2/plugins/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud