summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-01-01 09:40:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-01-01 09:40:54 +0000
commit2c1c0cdd2bb293b59047fb848138d276b4ea0de2 (patch)
tree6f0af8bc38591b516e4e994d200779187e0981f2
parentUpdate to 1.7.5. (diff)
- Fix LICENSE
- Switch to options helpers - Update WWW Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=559816
-rw-r--r--emulators/vba/Makefile14
-rw-r--r--emulators/vba/pkg-descr2
2 files changed, 9 insertions, 7 deletions
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile
index 6ce5a9e56035..a15c249123b6 100644
--- a/emulators/vba/Makefile
+++ b/emulators/vba/Makefile
@@ -11,7 +11,7 @@ DISTNAME= VisualBoyAdvance-src-${PORTVERSION}
MAINTAINER= arundel@h3c.de
COMMENT= Open source Gameboy Advance emulator
-LICENSE= GPLv2
+LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= nasm:devel/nasm
@@ -56,13 +56,15 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${PROG_FILES} ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MGTK2}
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance
- ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance
-.endif
${SED} -e 's|filter=0|filter=1|' ${DATA_FILES} > ${DATA_FILES}-default
${INSTALL_DATA} ${DATA_FILES}-default ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-GTK2-on:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance
+ ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/emulators/vba/pkg-descr b/emulators/vba/pkg-descr
index dda05412cc10..930383ebbcc3 100644
--- a/emulators/vba/pkg-descr
+++ b/emulators/vba/pkg-descr
@@ -18,4 +18,4 @@ Some of the main features are:
NOTICE: Thx go out to Wouter Groeneveld for helping me to test the port.
-WWW: http://vba.ngemu.com/
+WWW: https://web.archive.org/web/20110718045837/http://vba.ngemu.com/