- Switch to options helpers
This commit is contained in:
parent
85d0b5dbbd
commit
44d964af8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416660
@ -42,20 +42,12 @@ OPTIONS_SUB= yes
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/CapiCity \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.for d in games images
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
||||
.endfor
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
|
||||
.endif
|
||||
|
||||
.for s in ${ICON_SIZES}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
||||
${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
|
||||
@ -64,6 +56,10 @@ do-install:
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
|
||||
do-install-NLS-on:
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user