Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 22:31:00 +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: r333633 - head/emulators/fuse
Message-ID:  <201311122231.rACMV0BM037331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue Nov 12 22:31:00 2013
New Revision: 333633
URL: http://svnweb.freebsd.org/changeset/ports/333633

Log:
  - Add an option to install emulators/fuse-roms as a runtime dependency
    (default off)
  - Install README.copyright detailing the copyright status of the ROMs
    included in _this_ package as a PORTDOCS
  - Bump PORTREVISION

Modified:
  head/emulators/fuse/Makefile
  head/emulators/fuse/pkg-plist

Modified: head/emulators/fuse/Makefile
==============================================================================
--- head/emulators/fuse/Makefile	Tue Nov 12 22:23:29 2013	(r333632)
+++ head/emulators/fuse/Makefile	Tue Nov 12 22:31:00 2013	(r333633)
@@ -3,7 +3,7 @@
 
 PORTNAME=	fuse
 PORTVERSION=	1.1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION}
 
@@ -24,10 +24,11 @@ CONFIGURE_ARGS+=--without-alsa --without
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 
-OPTIONS_DEFINE=		AO ICONS
+OPTIONS_DEFINE=		AO ICONS ROMS
 OPTIONS_DEFAULT=	ICONS GTK2
 OPTIONS_SINGLE=		UI
 UI_DESC=		User Interface
+ROMS_DESC=		Extra ROM images (128p, 256s, Gluck, IF1, Opus, TrDOS)
 OPTIONS_SINGLE_UI=	GTK2 GTK3 SDL SVGALIB
 
 OPTIONS_SUB=		yes
@@ -46,6 +47,7 @@ SDL_CONFIGURE_ON=	--without-gtk
 SVGALIB_LIB_DEPENDS=	libvga.so:${PORTSDIR}/graphics/svgalib
 SVGALIB_CONFIGURE_WITH=	svgalib
 SVGALIB_CONFIGURE_ON=	--without-gtk
+ROMS_RUN_DEPENDS=	fuse-roms>0:${PORTSDIR}/emulators/fuse-roms
 
 .include <bsd.port.options.mk>
 
@@ -57,7 +59,7 @@ post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \
-		${STAGEDIR}${DOCSDIR}
+		roms/README.copyright ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/emulators/fuse/pkg-plist
==============================================================================
--- head/emulators/fuse/pkg-plist	Tue Nov 12 22:23:29 2013	(r333632)
+++ head/emulators/fuse/pkg-plist	Tue Nov 12 22:31:00 2013	(r333633)
@@ -81,9 +81,10 @@ man/man1/fuse.1.gz
 %%ICONS%%@dirrmtry share/icons/hicolor/128x128
 %%ICONS%%@dirrmtry share/icons/hicolor
 %%ICONS%%@dirrmtry share/icons
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.copyright
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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