diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-08 06:03:10 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-08 06:03:10 +0000 |
commit | a200c5abefc82da5c6df3670f96f8adfef53a918 (patch) | |
tree | bf322aedbe54bcfa39165bfe097a91fea572c0be /games/gnuchess/Makefile | |
parent | fcd84d24da07f86fb327467daa7afb063f0fd350 (diff) | |
download | pkgsrc-a200c5abefc82da5c6df3670f96f8adfef53a918.tar.gz |
Read in default an opening book installed by gnuchess-book-*. Also
note opening book packages in DESCR. Bump PKGREVISION.
Diffstat (limited to 'games/gnuchess/Makefile')
-rw-r--r-- | games/gnuchess/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile index d5a46fa84fa..e54b47ab6e6 100644 --- a/games/gnuchess/Makefile +++ b/games/gnuchess/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.21 2004/03/08 03:04:36 minskim Exp $ +# $NetBSD: Makefile,v 1.22 2004/03/08 06:03:10 minskim Exp $ # FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp # DISTNAME= gnuchess-5.07 +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GNU:=chess/} @@ -26,6 +27,12 @@ CONFIGURE_ENV+= CFLAGS="-O -Winline -Wmissing-prototypes -funroll-loops" CONFIGURE_ENV+= CFLAGS="-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer" .endif +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= "Fixing hardcoded paths." +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= src/book.h +SUBST_SED.paths= -e 's,/usr/lib/games/,${LOCALBASE}/lib/,g' \ + post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DOCDIR} |