aboutsummaryrefslogtreecommitdiff
path: root/emulators/fuse-roms/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2015-12-07 21:00:16 +0000
committerRene Ladan <rene@FreeBSD.org>2015-12-07 21:00:16 +0000
commit098dd81b8f8fecab0f8181ef5b2af342b0070bd8 (patch)
treec41bcea5b99272c471d3f382718b3b0710c1ea3f /emulators/fuse-roms/Makefile
parent7154a775b7d2dc7f34f2f342ffa774eec4883134 (diff)
downloadports-098dd81b8f8fecab0f8181ef5b2af342b0070bd8.tar.gz
ports-098dd81b8f8fecab0f8181ef5b2af342b0070bd8.zip
emulators/fuse-roms: add a discussion about distributing ROMs in DOCSDIR
- Mark as NO_ARCH - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=403235
Diffstat (limited to 'emulators/fuse-roms/Makefile')
-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>