diff options
author | atatat <atatat> | 2002-04-04 16:47:54 +0000 |
---|---|---|
committer | atatat <atatat> | 2002-04-04 16:47:54 +0000 |
commit | 743f1e96a3e58d5b4db2f5b529f5712a0ad62977 (patch) | |
tree | 76b5423a831cb620c3accd51fd82934c08cdb165 /x11/xplanet/Makefile | |
parent | 568d01036fd198062030feb0684d75c3f607f335 (diff) | |
download | pkgsrc-743f1e96a3e58d5b4db2f5b529f5712a0ad62977.tar.gz |
Add freetype2 support to xplanet, and add two easy ways (the XPLANET
environment variable and the $HOME/.xplanet directory) for users to
maintain data sets and images for xplanet without having to them in
${LOCALBASE}/share/xplanet.
Diffstat (limited to 'x11/xplanet/Makefile')
-rw-r--r-- | x11/xplanet/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/xplanet/Makefile b/x11/xplanet/Makefile index cccd1ac8dd0..fc8d870e73c 100644 --- a/x11/xplanet/Makefile +++ b/x11/xplanet/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2002/03/25 16:08:07 atatat Exp $ +# $NetBSD: Makefile,v 1.2 2002/04/04 16:47:54 atatat Exp $ # DISTNAME= xplanet-0.93 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://prdownloads.sourceforge.net/xplanet/ @@ -20,11 +21,18 @@ DEPENDS+= glu-*:../../graphics/glu LIBS= -lpbm -lppm -lpgm MAKE_ENV+= LIBS="${LIBS}" +pre-configure: + cd ${WRKSRC} ; \ + f=xplanet.1 ; \ + [ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \ + ${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f + .include "../../graphics/libungif/buildlink.mk" .include "../../graphics/jpeg/buildlink.mk" .include "../../graphics/png/buildlink.mk" .include "../../graphics/netpbm/buildlink.mk" .include "../../graphics/tiff/buildlink.mk" +.include "../../graphics/freetype2/buildlink.mk" .include "../../x11/tk/buildlink.mk" .include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |