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 .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 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%%