aboutsummaryrefslogtreecommitdiff
path: root/emulators/fuse
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-29 11:38:05 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-29 11:38:05 +0000
commit8cb7d9786cf13006f1fd1f4babefd0339f80b1ac (patch)
tree500eddebee165aaee689f104c8568dcf0e85cdb7 /emulators/fuse
parentc99635026b4424c58fb4b4a03f27d28c64bb7159 (diff)
downloadports-8cb7d9786cf13006f1fd1f4babefd0339f80b1ac.tar.gz
ports-8cb7d9786cf13006f1fd1f4babefd0339f80b1ac.zip
Simplify installation of PORTDOCS, no package changes.
Notes
Notes: svn path=/head/; revision=335163
Diffstat (limited to 'emulators/fuse')
-rw-r--r--emulators/fuse/Makefile13
-rw-r--r--emulators/fuse/pkg-plist6
2 files changed, 8 insertions, 11 deletions
diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile
index f4395aae2a9c..c9a270aeaa53 100644
--- a/emulators/fuse/Makefile
+++ b/emulators/fuse/Makefile
@@ -49,17 +49,20 @@ SVGALIB_CONFIGURE_WITH= svgalib
SVGALIB_CONFIGURE_ON= --without-gtk
ROMS_RUN_DEPENDS= fuse-roms>0:${PORTSDIR}/emulators/fuse-roms
+PORTDOCS= AUTHORS ChangeLog README THANKS README.copyright
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MICONS}
INSTALLS_ICONS= yes
.endif
+post-extract:
+ ${CP} ${WRKSRC}/roms/README.copyright ${WRKSRC}
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \
- roms/README.copyright ${STAGEDIR}${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>
diff --git a/emulators/fuse/pkg-plist b/emulators/fuse/pkg-plist
index d9046670d3e8..84f86d7cc00f 100644
--- a/emulators/fuse/pkg-plist
+++ b/emulators/fuse/pkg-plist
@@ -82,9 +82,3 @@ man/man1/fuse.1.gz
%%ICONS%%@dirrmtry share/icons/hicolor
%%ICONS%%@dirrmtry share/icons
@dirrmtry %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.copyright
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
-%%PORTDOCS%%@dirrm %%DOCSDIR%%