blob: 11580f77de67adf09ce185fcc78a264b181836f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: asclock-xlib
# Date created: 24 April 1999
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= asclock-xlib
PORTVERSION= 2.0.11
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
USE_XPM= 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 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>
|