2013-09-09 20:54:28 +02:00
|
|
|
# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
|
2004-02-13 21:17:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= alltraxclock
|
|
|
|
PORTVERSION= 2.0.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 11
|
2004-02-13 21:17:40 +01:00
|
|
|
CATEGORIES= x11-clocks
|
2005-11-10 17:57:11 +01:00
|
|
|
MASTER_SITES= http://perso.wanadoo.fr/alltrax/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= novel
|
2004-02-13 21:17:40 +01:00
|
|
|
DISTNAME= ${PORTNAME}2_0.2-1
|
|
|
|
|
2005-03-08 08:38:35 +01:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2014-02-06 11:15:08 +01:00
|
|
|
COMMENT= Analog clock plugin for gkrellm2
|
2004-02-13 21:17:40 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
2004-02-13 21:17:40 +01:00
|
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
|
2013-09-09 20:54:28 +02:00
|
|
|
USES= pkgconfig
|
2004-02-13 21:17:40 +01:00
|
|
|
ALL_TARGET= alltraxclock.so
|
|
|
|
PLIST_FILES= libexec/gkrellm2/plugins/alltraxclock.so
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2_0.2/
|
|
|
|
|
|
|
|
post-patch:
|
2004-07-28 11:22:32 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|;s|-O2||;s|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
|
2004-02-13 21:17:40 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-02-06 11:15:08 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
|
2014-01-11 13:51:31 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
|
2004-02-13 21:17:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|