- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
1669936651
commit
e7ec7ac22c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397527
@ -38,8 +38,6 @@ OPTIONS_DEFAULT= ANIMATION
|
||||
ANIMATION_DESC= Enable animation support
|
||||
ANIMATION_CONFIGURE_ENABLE= animation
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKDIR} -name 'gtkrc' -exec \
|
||||
${REINPLACE_CMD} -e 's!^include "apps/nautilus\.rc"!#&!' {} +
|
||||
@ -54,15 +52,15 @@ post-install:
|
||||
.endfor
|
||||
${FIND} ${STAGEDIR}${DATADIR} -type d -exec ${CHMOD} 755 {} +
|
||||
${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} ${SHAREMODE} {} +
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for i in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKDIR}/$i ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user