freebsd-ports/x11-clocks/asclock-xlib/Makefile

39 lines
924 B
Makefile
Raw Normal View History

1999-08-31 05:04:38 +02:00
# $FreeBSD$
1999-04-25 02:37:57 +02:00
PORTNAME= asclock-xlib
2001-02-05 18:05:29 +01:00
PORTVERSION= 2.0.11
PORTREVISION= 4
1999-04-25 02:37:57 +02:00
CATEGORIES= x11-clocks afterstep windowmaker
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
1999-04-25 02:37:57 +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
MAKE_JOBS_UNSAFE= yes
1999-04-25 02:37:57 +02:00
WRKSRC= ${WRKDIR}/asclock-xlib
USE_XORG= xpm x11
2013-06-29 01:05:59 +02:00
USES= imake
.include <bsd.port.pre.mk>
1999-04-25 02:37:57 +02:00
post-patch:
@(cd ${WRKSRC}; \
${MV} config.c config.c.tmp; \
${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
pre-configure:
1999-04-25 02:37:57 +02:00
@(cd ${WRKSRC}; \
${RM} -rf default_theme; \
${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
.include <bsd.port.post.mk>