1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-clocks/asclock-xlib/Makefile

42 lines
1018 B
Makefile
Raw Normal View History

1999-04-25 00:37:57 +00:00
# New ports collection makefile for: asclock-xlib
1999-07-25 02:58:43 +00:00
# Version required: 2.0.11
1999-04-25 00:37:57 +00:00
# Date created: 24 April 1999
# Whom: Jun Kuriyama <kuriyama@FreeBSD.ORG>
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
1999-04-25 00:37:57 +00:00
#
1999-07-25 02:58:43 +00:00
DISTNAME= asclock-xlib-2.0.11
1999-04-25 00:37:57 +00:00
CATEGORIES= x11-clocks afterstep windowmaker
MASTER_SITES= http://www.asclock.org/tar/
MAINTAINER= kuriyama@FreeBSD.ORG
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
1999-04-25 00:37:57 +00:00
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:
1999-07-25 02:58:43 +00:00
.for i in Freeamp Newstone Orb Stone beats classic penguin shaped
1999-04-25 00:37:57 +00:00
(cd ${WRKSRC}/themes/${i}; \
${MKDIR} ${PREFIX}/share/asclock/${i}; \
${INSTALL_DATA} *.xpm config ${PREFIX}/share/asclock/${i}/ )
.endfor
.include <bsd.port.mk>