aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/Xaw3d
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-26 00:06:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-26 00:06:46 +0000
commit966c2de8a6d62a871c607aa8e16ce0127d69c260 (patch)
treed48d81084718d73eed9e69d22e6a5344dacf6b68 /x11-toolkits/Xaw3d
parentb583c3b281e3dde95f90b77398708efd0644d067 (diff)
downloadports-966c2de8a6d62a871c607aa8e16ce0127d69c260.tar.gz
ports-966c2de8a6d62a871c607aa8e16ce0127d69c260.zip
- Use options helpers
- Strip library
Notes
Notes: svn path=/head/; revision=387450
Diffstat (limited to 'x11-toolkits/Xaw3d')
-rw-r--r--x11-toolkits/Xaw3d/Makefile15
1 files changed, 6 insertions, 9 deletions
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 <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}/