diff options
author | rene <rene@FreeBSD.org> | 2013-11-29 19:38:05 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-11-29 19:38:05 +0800 |
commit | e9924a79ba276ac5f852d725b97cc0d1320212f7 (patch) | |
tree | 500eddebee165aaee689f104c8568dcf0e85cdb7 /emulators | |
parent | 9f5086835615e0c69fe1366ddf287aa26b31f44a (diff) | |
download | freebsd-ports-gnome-e9924a79ba276ac5f852d725b97cc0d1320212f7.tar.gz freebsd-ports-gnome-e9924a79ba276ac5f852d725b97cc0d1320212f7.tar.zst freebsd-ports-gnome-e9924a79ba276ac5f852d725b97cc0d1320212f7.zip |
Simplify installation of PORTDOCS, no package changes.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/fuse/Makefile | 13 | ||||
-rw-r--r-- | emulators/fuse/pkg-plist | 6 |
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%% |