mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-clocks afterstep windowmaker
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= kuriyama
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= New flavor of asclock
|
|
|
|
WRKSRC= ${WRKDIR}/asclock-xlib
|
|
USE_XORG= xpm
|
|
|
|
.if defined(BATCH)
|
|
USE_IMAKE= YES
|
|
.else
|
|
USE_XORG= x11
|
|
HAS_CONFIGURE= YES
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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 )
|
|
|
|
.if defined(BATCH)
|
|
pre-configure:
|
|
@(cd ${WRKSRC}; \
|
|
${RM} -rf default_theme; \
|
|
${LN} -s themes/Orb default_theme)
|
|
.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
|
|
cd ${WRKSRC} && ${MAKE} install.man
|
|
|
|
.include <bsd.port.post.mk>
|