svn commit: r335163 - head/emulators/fuse
Rene Ladan
rene at FreeBSD.org
Fri Nov 29 11:38:06 UTC 2013
Author: rene
Date: Fri Nov 29 11:38:05 2013
New Revision: 335163
URL: http://svnweb.freebsd.org/changeset/ports/335163
Log:
Simplify installation of PORTDOCS, no package changes.
Modified:
head/emulators/fuse/Makefile
head/emulators/fuse/pkg-plist
Modified: head/emulators/fuse/Makefile
==============================================================================
--- head/emulators/fuse/Makefile Fri Nov 29 11:34:24 2013 (r335162)
+++ head/emulators/fuse/Makefile Fri Nov 29 11:38:05 2013 (r335163)
@@ -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>
Modified: head/emulators/fuse/pkg-plist
==============================================================================
--- head/emulators/fuse/pkg-plist Fri Nov 29 11:34:24 2013 (r335162)
+++ head/emulators/fuse/pkg-plist Fri Nov 29 11:38:05 2013 (r335163)
@@ -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%%
More information about the svn-ports-all
mailing list