Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 00:06:47 +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: r387450 - head/x11-toolkits/Xaw3d
Message-ID:  <201505260006.t4Q06lCf054830@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue May 26 00:06:46 2015
New Revision: 387450
URL: https://svnweb.freebsd.org/changeset/ports/387450

Log:
  - Use options helpers
  - Strip library

Modified:
  head/x11-toolkits/Xaw3d/Makefile

Modified: head/x11-toolkits/Xaw3d/Makefile
==============================================================================
--- head/x11-toolkits/Xaw3d/Makefile	Tue May 26 00:06:05 2015	(r387449)
+++ head/x11-toolkits/Xaw3d/Makefile	Tue May 26 00:06:46 2015	(r387450)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Xaw3d
 PORTVERSION=	1.5E
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://slackware.cs.utah.edu/pub/slackware/slackware64-13.1/source/x/xaw3d/
 
@@ -12,7 +12,6 @@ COMMENT=	3-D Athena Widget set that look
 
 LICENSE=	MIT
 
-OPTIONS_DEFINE=	DOCS NLS
 WRKSRC=		${WRKDIR}/xc/lib/Xaw3d
 USES=		imake
 USE_XORG=	x11 xext xmu xt sm ice xpm
@@ -22,14 +21,11 @@ SUB_FILES=	pkg-message
 XAWVER=		8
 SUB_LIST=	XAWVER="${XAWVER}"
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${MKDIR} ${WRKSRC}/X11/Xaw3d
@@ -41,6 +37,7 @@ post-extract:
 .endif
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXaw3d.so
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${STAGEDIR}${DOCSDIR}/
 



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