Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 11:38:05 +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: r335163 - head/emulators/fuse
Message-ID:  <201311291138.rATBc5TO012055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%



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