diff options
author | wiz <wiz> | 2000-12-12 02:03:46 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-12 02:03:46 +0000 |
commit | d1cfd61b2dbd018498de837178e68416bbc3a46a (patch) | |
tree | 0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/afterstep/Makefile | |
parent | bba4c506a905e25c06a3e9c3f4d6e98019fe5905 (diff) | |
download | pkgsrc-d1cfd61b2dbd018498de837178e68416bbc3a46a.tar.gz |
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/afterstep/Makefile')
-rw-r--r-- | wm/afterstep/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/wm/afterstep/Makefile b/wm/afterstep/Makefile new file mode 100644 index 00000000000..debe2bf8d68 --- /dev/null +++ b/wm/afterstep/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/12 02:03:46 wiz Exp $ + +DISTNAME= AfterStep-1.8.0 +PKGNAME= afterstep-1.8.0 +CATEGORIES= x11 wm +MASTER_SITES= ftp://ftp.afterstep.org/stable/ \ + ftp://ftp.digex.net/pub/X11/window-managers/afterstep/AfterStep/stable/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= fb@enteract.com +HOMEPAGE= http://www.afterstep.org/ + +BUILD_DEPENDS+= autoconf:../../devel/autoconf +DEPENDS+= jpeg-6b:../../graphics/jpeg +DEPENDS+= png>=1.0.6:../../graphics/png +DEPENDS+= rplay>=3.2.0b6:../../audio/rplay +DEPENDS+= asclock-[0-9]*:../../x11/asclock +DEPENDS+= xp-*:../../x11/xp + +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +USE_PERL5= YES +USE_X11= YES +USE_XPM= YES + +CONFIGURE_ARGS+= --disable-staticlibs +CONFIGURE_ARGS+= --with-helpcommand="xpman" +CONFIGURE_ARGS+= --with-jpeg-includes=${LOCALBASE}/include +CONFIGURE_ARGS+= --with-jpeg-lib=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-png-includes=${LOCALBASE}/include +CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib +CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} + +MESSAGE_FILE= ${WRKDIR}/MESSAGE + +post-patch: + for i in `${FIND} ${WRKSRC} -name "*.man" -print` \ + ${WRKSRC}/autoconf/Makefile.common.in; do \ + ${MV} $$i $$i.orig ;\ + ${SED} -e 's|/usr/local/|${PREFIX}/|g' -e 's|1x|1|g' < $$i.orig > $$i ; \ + done + +pre-configure: + cd ${WRKSRC} && \ + autoconf --localdir=autoconf autoconf/configure.in > configure; \ + ${CHMOD} 755 configure; \ + autoheader --localdir=autoconf autoconf/configure.in > autoconf/config.h.in; + +post-build: + ${SED} 's|@PREFIX@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} + +.include "../../mk/bsd.pkg.mk" |