aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-11-13 06:31:00 +0800
committerrene <rene@FreeBSD.org>2013-11-13 06:31:00 +0800
commit1ef3993b3a9b645c9ee36a009c66c5b53c66ac9a (patch)
tree8311c3b287e2bfc65e99b6e6af14b3355ad9f3e4 /emulators
parentd4d24e00062160a39a8cb3c2768a447daaff31c4 (diff)
downloadfreebsd-ports-gnome-1ef3993b3a9b645c9ee36a009c66c5b53c66ac9a.tar.gz
freebsd-ports-gnome-1ef3993b3a9b645c9ee36a009c66c5b53c66ac9a.tar.zst
freebsd-ports-gnome-1ef3993b3a9b645c9ee36a009c66c5b53c66ac9a.zip
- 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
Diffstat (limited to 'emulators')
-rw-r--r--emulators/fuse/Makefile8
-rw-r--r--emulators/fuse/pkg-plist3
2 files changed, 7 insertions, 4 deletions
diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile
index 159e319cb8eb..f4395aae2a9c 100644
--- a/emulators/fuse/Makefile
+++ b/emulators/fuse/Makefile
@@ -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-joystick
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>
diff --git a/emulators/fuse/pkg-plist b/emulators/fuse/pkg-plist
index 8011ac595886..d9046670d3e8 100644
--- a/emulators/fuse/pkg-plist
+++ b/emulators/fuse/pkg-plist
@@ -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%%