From c124cb4e313f5dab906d08bb2be851823082c3f0 Mon Sep 17 00:00:00 2001 From: pawel Date: Thu, 10 Apr 2014 12:47:51 +0000 Subject: - Add staging support - Convert to new LIB_DEPENDS format - Switch to PLIST_FILES - Define DOCS option --- emulators/vgb-bin/Makefile | 21 +++++++++++---------- emulators/vgb-bin/pkg-plist | 5 ----- 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 emulators/vgb-bin/pkg-plist (limited to 'emulators') 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 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 -- cgit