svn commit: r387450 - head/x11-toolkits/Xaw3d
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue May 26 00:06:47 UTC 2015
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}/
More information about the svn-ports-all
mailing list