aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/Xaw3d/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-10 16:55:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-10 16:55:15 +0000
commit97d4dfd318ee93611473b5927c7b3fe8c76e9c88 (patch)
treec34c81d91c036942c3330dea46b2b3dce382d495 /x11-toolkits/Xaw3d/Makefile
parentf91cfc17b6c527a1001628acb6135ba63e578f69 (diff)
downloadports-97d4dfd318ee93611473b5927c7b3fe8c76e9c88.tar.gz
ports-97d4dfd318ee93611473b5927c7b3fe8c76e9c88.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=408639
Diffstat (limited to 'x11-toolkits/Xaw3d/Makefile')
-rw-r--r--x11-toolkits/Xaw3d/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile
index c01ea10f0e24..dc2b63604408 100644
--- a/x11-toolkits/Xaw3d/Makefile
+++ b/x11-toolkits/Xaw3d/Makefile
@@ -25,20 +25,20 @@ OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
-.include <bsd.port.options.mk>
-
post-extract:
@${MKDIR} ${WRKSRC}/X11/Xaw3d
@cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h .
-.if ! ${PORT_OPTIONS:MNLS}
+
+post-extract-NLS-off:
@${REINPLACE_CMD} -e '/LINTLIBS =/s/=.*/=/' \
-e '/#ifdef XawI18nDefines/s//#if 0/' \
${WRKSRC}/Imakefile
-.endif
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXaw3d.so
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXaw3d.so
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>