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