Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 21:00:16 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403235 - head/emulators/fuse-roms
Message-ID:  <201512072100.tB7L0Gnj081781@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Dec  7 21:00:16 2015
New Revision: 403235
URL: https://svnweb.freebsd.org/changeset/ports/403235

Log:
  emulators/fuse-roms: add a discussion about distributing ROMs in DOCSDIR
  
  - Mark as NO_ARCH
  - Bump PORTREVISION

Modified:
  head/emulators/fuse-roms/Makefile

Modified: head/emulators/fuse-roms/Makefile
==============================================================================
--- head/emulators/fuse-roms/Makefile	Mon Dec  7 20:54:11 2015	(r403234)
+++ head/emulators/fuse-roms/Makefile	Mon Dec  7 21:00:16 2015	(r403235)
@@ -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 wit
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512072100.tB7L0Gnj081781>