Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 16:55:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408639 - head/x11-toolkits/Xaw3d
Message-ID:  <201602101655.u1AGtGWW015709@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb 10 16:55:15 2016
New Revision: 408639
URL: https://svnweb.freebsd.org/changeset/ports/408639

Log:
  - Switch to options helpers

Modified:
  head/x11-toolkits/Xaw3d/Makefile

Modified: head/x11-toolkits/Xaw3d/Makefile
==============================================================================
--- head/x11-toolkits/Xaw3d/Makefile	Wed Feb 10 16:55:05 2016	(r408638)
+++ head/x11-toolkits/Xaw3d/Makefile	Wed Feb 10 16:55:15 2016	(r408639)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602101655.u1AGtGWW015709>