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

51 lines
1.1 KiB
Makefile
Raw Normal View History

1999-04-25 02:37:57 +02:00
# New ports collection makefile for: asclock-xlib
# Date created: 24 April 1999
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
1999-04-25 02:37:57 +02:00
#
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= 2
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
WRKSRC= ${WRKDIR}/asclock-xlib
USE_XORG= xpm
1999-04-25 02:37:57 +02:00
.if defined(BATCH)
USE_IMAKE= YES
.else
USE_XORG= x11
HAS_CONFIGURE= YES
.endif
.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
.if defined(BATCH)
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
.endif
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}; \
${MKDIR} ${PREFIX}/share/asclock/${i}; \
${INSTALL_DATA} *.xpm config ${PREFIX}/share/asclock/${i}/ )
.endfor
cd ${WRKSRC} && ${MAKE} install.man
1999-04-25 02:37:57 +02:00
.include <bsd.port.post.mk>