aboutsummaryrefslogtreecommitdiffstats
path: root/cad/kicad
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /cad/kicad
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'cad/kicad')
-rw-r--r--cad/kicad/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index 53efc8c1daa7..15d07d70dcc9 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>