1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-07-19 04:08:00 +00:00
parent 3a787cbaa2
commit a331e8a771
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362237

View File

@ -28,9 +28,6 @@ SHAREMODE= 644
OPTIONS_DEFINE= DOCS EXAMPLES
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
${FIND} ${FIND_FILES} | ${XARGS} -0 ${REINPLACE_CMD}
${FIND} ${FIND_FILES_BAK} -delete
@ -40,18 +37,14 @@ do-build:
${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/tool
do-install:
${MKDIR} ${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}
.for D in ${QXDDIRS}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
${INSTALL_DATA} ${WRKSRC}/version.txt ${DATADIR}
${CHMOD} ${BINMODE} ${DATADIR}/tool/bin/*.py
${INSTALL_SCRIPT} ${WRKSRC}/create-application.py ${DATADIR}/create-application.py
cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/version.txt ${STAGEDIR}${DATADIR}
${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/tool/bin/*.py
${INSTALL_SCRIPT} ${WRKSRC}/create-application.py ${STAGEDIR}${DATADIR}/create-application.py
.include <bsd.port.mk>