diff options
author | dholland <dholland@pkgsrc.org> | 2011-12-20 16:18:16 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-12-20 16:18:16 +0000 |
commit | a2c55dd58b1adaecaf02595e43bdd3af341e0eff (patch) | |
tree | ffb0c7cb733e2e7244c1ee68fec742ad34d2b962 /games/craft/Makefile | |
parent | 3d49b29b491399fb7e5d69ce61bcc7409f97549d (diff) | |
download | pkgsrc-a2c55dd58b1adaecaf02595e43bdd3af341e0eff.tar.gz |
Assorted fixes and cleanup.
- if we're going to supply the build makefile, it shouldn't require gmake.
- don't install executable html or gif files
- add patch comments
- const correctness for string constants, as demanded by gcc 4.5
- avoid needing -lcompat
- fix a y2038 issue
PKGREVISION -> 2
Diffstat (limited to 'games/craft/Makefile')
-rw-r--r-- | games/craft/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/games/craft/Makefile b/games/craft/Makefile index 4e0d72569dd..4968eb21df8 100644 --- a/games/craft/Makefile +++ b/games/craft/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2009/07/08 17:20:52 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2011/12/20 16:18:16 dholland Exp $ DISTNAME= craftcc35 PKGNAME= craft-3.5 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games x11 MASTER_SITES= ftp://set.gmd.de/pub/as/janus/craft/ EXTRACT_SUFX= .tar.Z @@ -15,7 +15,6 @@ PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} USE_LANGUAGES= c c++ -USE_TOOLS+= gmake USE_X11BASE= yes SUBST_CLASSES+= craft @@ -36,14 +35,10 @@ post-extract: for f in `find ${WRKSRC} -name "*.hc" -type f -print`; do \ ${ECHO} "" >>$$f; \ done - -post-patch: + ${CHMOD} a-x ${WRKSRC}/html/pic/*.gif + ${CHMOD} a-x ${WRKSRC}/html/pic/craft.gif.old + ${CHMOD} a-x ${WRKSRC}/html/craftcc.html rm -f ${WRKSRC}/hcc/hcc -.include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "Linux" -BUILDLINK_TRANSFORM+= rm:-lcompat -.endif - .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |