1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-04-25 02:37:57 +02:00
|
|
|
|
2000-04-10 02:33:10 +02:00
|
|
|
PORTNAME= asclock-xlib
|
2001-02-05 18:05:29 +01:00
|
|
|
PORTVERSION= 2.0.11
|
2014-06-24 17:15:56 +02:00
|
|
|
PORTREVISION= 4
|
1999-04-25 02:37:57 +02:00
|
|
|
CATEGORIES= x11-clocks afterstep windowmaker
|
2001-07-06 01:19:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2000-12-11 02:38:14 +01:00
|
|
|
MASTER_SITE_SUBDIR= kuriyama
|
1999-04-25 02:37:57 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
2003-02-22 08:48:51 +01:00
|
|
|
COMMENT= New flavor of asclock
|
1999-04-25 02:37:57 +02:00
|
|
|
|
2011-09-25 04:35:51 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1999-04-25 02:37:57 +02:00
|
|
|
|
2011-09-25 04:35:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/asclock-xlib
|
|
|
|
USE_XORG= xpm x11
|
2013-06-29 01:05:59 +02:00
|
|
|
USES= imake
|
2011-09-25 04:35:51 +02:00
|
|
|
|
2000-09-12 14:50:02 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-04-25 02:37:57 +02:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${MV} config.c config.c.tmp; \
|
2000-08-14 07:49:49 +02:00
|
|
|
${SED} -e s@/usr/local/@${PREFIX}/@ -e s@/usr/share/asclock@${PREFIX}/share/asclock@ < config.c.tmp > config.c )
|
1999-04-25 02:37:57 +02:00
|
|
|
|
2000-08-08 10:14:16 +02:00
|
|
|
pre-configure:
|
1999-04-25 02:37:57 +02:00
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${RM} -rf default_theme; \
|
2000-08-08 10:14:16 +02:00
|
|
|
${LN} -s themes/Orb default_theme)
|
1999-04-25 02:37:57 +02:00
|
|
|
|
|
|
|
post-install:
|
1999-07-25 04:58:43 +02:00
|
|
|
.for i in Freeamp Newstone Orb Stone beats classic penguin shaped
|
1999-04-25 02:37:57 +02:00
|
|
|
(cd ${WRKSRC}/themes/${i}; \
|
2014-06-09 17:41:12 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/asclock/${i}; \
|
|
|
|
${INSTALL_DATA} *.xpm config ${STAGEDIR}${PREFIX}/share/asclock/${i}/ )
|
1999-04-25 02:37:57 +02:00
|
|
|
.endfor
|
|
|
|
|
2000-08-08 10:14:16 +02:00
|
|
|
.include <bsd.port.post.mk>
|