- Fix LICENSE

- Simplify installation
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-09-23 09:01:40 +00:00
parent 1266ecc365
commit ba60aed57b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422658

View file

@ -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})