aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-10 12:47:51 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-10 12:47:51 +0000
commit599213147f1d90473db2b491cc08e04e05ca355a (patch)
treeea9c2f74931eb24af491dee6c55c0d1e5a2ebae9 /emulators
parentfa390b2f258d55406ec92b1c70f1d3623892f018 (diff)
downloadports-599213147f1d90473db2b491cc08e04e05ca355a.tar.gz
ports-599213147f1d90473db2b491cc08e04e05ca355a.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vgb-bin/Makefile21
-rw-r--r--emulators/vgb-bin/pkg-plist5
2 files changed, 11 insertions, 15 deletions
diff --git a/emulators/vgb-bin/Makefile b/emulators/vgb-bin/Makefile
index b3dafc650a71..9ba65be19a25 100644
--- a/emulators/vgb-bin/Makefile
+++ b/emulators/vgb-bin/Makefile
@@ -14,22 +14,23 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Nintendo GameBoy(tm) emulator (closed binary version of vgb)
-LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+LIB_DEPENDS= libc.so.5:${PORTSDIR}/misc/compat5x
IA32_BINARY_PORT= yes
NO_BUILD= no
NO_WRKSUBDIR= no
-INSTALL_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP}
+PLIST_FILES= bin/vgb
+PORTDATA= CART.GB
+PORTDOCS= VGB.html
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/vgb ${PREFIX}/bin
- @${INSTALL_DIR} ${PREFIX}/share/vgb
- @${INSTALL_DATA} ${WRKSRC}/CART.GB ${PREFIX}/share/vgb
-.if !defined(NOPORTDOCS)
- @${INSTALL_DIR} ${PREFIX}/share/doc/vgb
- @${INSTALL_DATA} ${WRKSRC}/VGB.html ${PREFIX}/share/doc/vgb
-.endif # !defined(NOPORTDOCS)
+ ${INSTALL_PROGRAM} ${WRKSRC}/vgb ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/CART.GB ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/VGB.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/emulators/vgb-bin/pkg-plist b/emulators/vgb-bin/pkg-plist
deleted file mode 100644
index 87e0d521cda8..000000000000
--- a/emulators/vgb-bin/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/vgb
-share/vgb/CART.GB
-%%PORTDOCS%%share/doc/vgb/VGB.html
-%%PORTDOCS%%@dirrm share/doc/vgb
-@dirrm share/vgb