From 966c2de8a6d62a871c607aa8e16ce0127d69c260 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 26 May 2015 00:06:46 +0000 Subject: - Use options helpers - Strip library --- x11-toolkits/Xaw3d/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index 135292a59fb9..c01ea10f0e24 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -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 looks like Motif 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 +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 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}/ -- cgit v1.2.3