aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/burrtools/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile
index 7cc02dd00423..da8c1fb6d9b3 100644
--- a/games/burrtools/Makefile
+++ b/games/burrtools/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle solver
-LICENSE= GPLv3
+LICENSE= GPLv2+ # COPYING is GPLv3
BUILD_DEPENDS= netpbm>0:graphics/netpbm
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
@@ -34,7 +34,7 @@ PLIST_FILES= bin/burrTxt bin/burrTxt2 bin/burrGui \
DESKTOP_ENTRIES="BurrGui" "" "burricons" "burrGui" "Game;LogicGame;" ""
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure
@@ -47,17 +47,18 @@ post-build:
pnmtopng -transparent=black > burricons.png)
do-install:
- (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} burrTxt burrTxt2 \
- ${STAGEDIR}${PREFIX}/bin)
- (cd ${WRKSRC}/src/gui && ${INSTALL_PROGRAM} burrGui \
- ${STAGEDIR}${PREFIX}/bin)
- (cd ${WRKSRC} && ${INSTALL_DATA} burricons.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps)
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/burrTxt ${WRKSRC}/src/burrTxt2 \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/gui/burrGui ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/burricons.png ${STAGEDIR}${PREFIX}/share/pixmaps
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS ChangeLog NEWS README
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
- ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR})