From 9d30f78a00bed11384c7259f662e9352754275db Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 19 Aug 2015 13:29:59 +0000 Subject: Convert ports to use the options helpers in categories [abc]*, and minor fixes. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412? --- cad/kicad/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cad/kicad') 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 -- cgit