aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-12-08 05:00:16 +0800
committerrene <rene@FreeBSD.org>2015-12-08 05:00:16 +0800
commit16865c41aeded440aad127b18e43737b82949b69 (patch)
treec41bcea5b99272c471d3f382718b3b0710c1ea3f /emulators
parenteaa16e77a259726624b4705c3d7fbc48bb710acc (diff)
downloadfreebsd-ports-gnome-16865c41aeded440aad127b18e43737b82949b69.tar.gz
freebsd-ports-gnome-16865c41aeded440aad127b18e43737b82949b69.tar.zst
freebsd-ports-gnome-16865c41aeded440aad127b18e43737b82949b69.zip
emulators/fuse-roms: add a discussion about distributing ROMs in DOCSDIR
- Mark as NO_ARCH - Bump PORTREVISION
Diffstat (limited to 'emulators')
-rw-r--r--emulators/fuse-roms/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/fuse-roms/Makefile b/emulators/fuse-roms/Makefile
index 75074946a94c..633b285dc4cd 100644
--- a/emulators/fuse-roms/Makefile
+++ b/emulators/fuse-roms/Makefile
@@ -3,6 +3,7 @@
PORTNAME= fuse-roms
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ftp://mirror.switch.ch/pool/4/mirror/rpmfusion/nonfree/fedora/releases/${FCVER}/Everything/x86_64/os/:1 \
ftp://ftp.ntua.gr/pub/linux/rpmfusion/nonfree/fedora/releases/${FCVER}/Everything/x86_64/os/:1 \
@@ -17,6 +18,7 @@ COMMENT= Spectrum ROM files, for use with the Fuse emulator
FCVER= 22
PORTSCOUT= ignore:1
+NO_ARCH= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/share/fuse
@@ -26,6 +28,10 @@ PLIST_FILES= ${ROMS:S|^|%%DATADIR%%/|}
RESTRICTED= No explicit permission to redistribute
+OPTIONS_DEFINE= DOCS
+
+DOCS_PLIST_FILES=%%DOCSDIR%%/rom-distribution.txt
+
post-extract:
${CP} ${DISTDIR}/Opus-22.rom ${WRKDIR}/usr/share/fuse/opus.rom
@@ -33,5 +39,9 @@ do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKDIR}/usr/share/fuse && \
${INSTALL_DATA} ${ROMS} ${STAGEDIR}${DATADIR})
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKDIR}/usr/share/doc/fuse-emulator-roms && \
+ ${INSTALL_DATA} rom-distribution.txt ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>