diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vgb-bin/Makefile | 21 | ||||
-rw-r--r-- | emulators/vgb-bin/pkg-plist | 5 |
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 |