- Fix LICENSE
- Simplify installation - Switch to options helpers
This commit is contained in:
parent
1266ecc365
commit
ba60aed57b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422658
1 changed files with 11 additions and 10 deletions
|
@ -10,7 +10,7 @@ MASTER_SITES= SF
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Puzzle solver
|
COMMENT= Puzzle solver
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv2+ # COPYING is GPLv3
|
||||||
|
|
||||||
BUILD_DEPENDS= netpbm>0:graphics/netpbm
|
BUILD_DEPENDS= netpbm>0:graphics/netpbm
|
||||||
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
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;" ""
|
DESKTOP_ENTRIES="BurrGui" "" "burricons" "burrGui" "Game;LogicGame;" ""
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure
|
||||||
|
@ -47,17 +47,18 @@ post-build:
|
||||||
pnmtopng -transparent=black > burricons.png)
|
pnmtopng -transparent=black > burricons.png)
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} burrTxt burrTxt2 \
|
${INSTALL_PROGRAM} ${WRKSRC}/src/burrTxt ${WRKSRC}/src/burrTxt2 \
|
||||||
${STAGEDIR}${PREFIX}/bin)
|
${STAGEDIR}${PREFIX}/bin
|
||||||
(cd ${WRKSRC}/src/gui && ${INSTALL_PROGRAM} burrGui \
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gui/burrGui ${STAGEDIR}${PREFIX}/bin
|
||||||
${STAGEDIR}${PREFIX}/bin)
|
${INSTALL_DATA} ${WRKSRC}/burricons.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||||
(cd ${WRKSRC} && ${INSTALL_DATA} burricons.png \
|
|
||||||
${STAGEDIR}${PREFIX}/share/pixmaps)
|
do-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for i in AUTHORS ChangeLog NEWS README
|
.for i in AUTHORS ChangeLog NEWS README
|
||||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||||
${STAGEDIR}${DOCSDIR})
|
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
do-install-EXAMPLES-on:
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
||||||
${STAGEDIR}${EXAMPLESDIR})
|
${STAGEDIR}${EXAMPLESDIR})
|
||||||
|
|
Loading…
Reference in a new issue