- Add DOCS Option
Support STAGEDIR Approved by: pawel / wg (mentors, implicit)
This commit is contained in:
parent
895f4b89bf
commit
80d7b01d0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335022
@ -21,7 +21,8 @@ INSTALLS_ICONS= yes
|
||||
|
||||
PORTDOCS= CREDITS ChangeLog NEWS
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -29,11 +30,10 @@ post-patch:
|
||||
${WRKSRC}/tanglet.pro
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user