summaryrefslogtreecommitdiff
path: root/x11-clocks/asclock-xlib/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-04-25 00:37:57 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-04-25 00:37:57 +0000
commit793943269d14ee2b39c9f7da7302a828a31b589f (patch)
tree470429ab95cd8c8b8922664274b26237871eb333 /x11-clocks/asclock-xlib/Makefile
parentMark BROKEN -- majorly FUBARed. (diff)
New flavor of asclock.
Notes
Notes: svn path=/head/; revision=18119
Diffstat (limited to '')
-rw-r--r--x11-clocks/asclock-xlib/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-clocks/asclock-xlib/Makefile b/x11-clocks/asclock-xlib/Makefile
new file mode 100644
index 000000000000..400a218e71de
--- /dev/null
+++ b/x11-clocks/asclock-xlib/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: asclock-xlib
+# Version required: 2.0.10
+# Date created: 24 April 1999
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= asclock-xlib-2.0.10
+CATEGORIES= x11-clocks afterstep windowmaker
+MASTER_SITES= http://www.asclock.org/tar/
+
+MAINTAINER= kuriyama@FreeBSD.ORG
+
+HAS_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/asclock-xlib
+USE_X_PREFIX= YES
+
+post-patch:
+ @(cd ${WRKSRC}; \
+ ${MV} config.c config.c.tmp; \
+ ${SED} -e s@/usr/local/@${X11BASE}/@ -e s@/usr/share/asclock@${LOCALBASE}/share/asclock@ < config.c.tmp > config.c )
+
+.if defined(BATCH)
+do-configure:
+ @(cd ${WRKSRC}; \
+ ${RM} -rf default_theme; \
+ ${LN} -s themes/Orb default_theme; \
+ ${XMKMF} )
+.endif
+
+post-install:
+.for i in Freeamp Newstone Orb Stone analog beats classic penguin shaped
+ (cd ${WRKSRC}/themes/${i}; \
+ ${MKDIR} ${PREFIX}/share/asclock/${i}; \
+ ${INSTALL_DATA} *.xpm config ${PREFIX}/share/asclock/${i}/ )
+.endfor
+
+.include <bsd.port.mk>