summaryrefslogtreecommitdiffstats
path: root/cad/kicad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/kicad/Makefile')
-rw-r--r--cad/kicad/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index 53efc8c..15d07d7 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -83,17 +83,15 @@ post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/library && ${COPYTREE_SHARE} library ${STAGEDIR}${DATADIR})
(cd ${WRKSRC}/library && ${COPYTREE_SHARE} modules ${STAGEDIR}${DATADIR})
-.if ${PORT_OPTIONS:MNLS}
+post-install-NLS-on:
${MKDIR} ${STAGEDIR}${DATADIR}/internat
(cd ${WRKSRC}/doc/internat && \
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/internat)
${RM} -f ${STAGEDIR}${DATADIR}/internat/CMakeLists.txt
${FIND} ${STAGEDIR}${DATADIR}/internat -name kicad.po -delete
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud