mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Simplify installation of PORTDOCS, no package changes.
This commit is contained in:
parent
c99635026b
commit
8cb7d9786c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335163
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user