aboutsummaryrefslogtreecommitdiff
path: root/emulators/fuse
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-12 22:31:00 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-12 22:31:00 +0000
commit26c1b45c12251c508667779e11391e96d2fa772c (patch)
tree8311c3b287e2bfc65e99b6e6af14b3355ad9f3e4 /emulators/fuse
parent48890eee7c794a535770682a11c78f64e6552de5 (diff)
downloadports-26c1b45c12251c508667779e11391e96d2fa772c.tar.gz
ports-26c1b45c12251c508667779e11391e96d2fa772c.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
Notes
Notes: svn path=/head/; revision=333633
Diffstat (limited to 'emulators/fuse')
-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%%