- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
02c8bec7d3
commit
badcf22cdd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397762
1 changed files with 2 additions and 4 deletions
|
@ -27,18 +27,16 @@ PLIST_FILES= bin/devisorgrid
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${STAGEDIR}${PREFIX}/bin/devisorgrid
|
||||
cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR} "-not -name *\.pdf"
|
||||
cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} "${CLASSFILES}" ${STAGEDIR}${DATADIR} "-name *\.class"
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
cd ${WRKSRC}/manual \
|
||||
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-name *\.pdf"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC} \
|
||||
|
|
Loading…
Reference in a new issue