aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-10 20:47:51 +0800
committerpawel <pawel@FreeBSD.org>2014-04-10 20:47:51 +0800
commitc124cb4e313f5dab906d08bb2be851823082c3f0 (patch)
treeea9c2f74931eb24af491dee6c55c0d1e5a2ebae9 /emulators
parent4abed0e622664ac37395bce0081f859c265f240b (diff)
downloadfreebsd-ports-gnome-c124cb4e313f5dab906d08bb2be851823082c3f0.tar.gz
freebsd-ports-gnome-c124cb4e313f5dab906d08bb2be851823082c3f0.tar.zst
freebsd-ports-gnome-c124cb4e313f5dab906d08bb2be851823082c3f0.zip
- Add staging support
- Convert to new LIB_DEPENDS format - Switch to PLIST_FILES - Define DOCS option
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