aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/swt-devel
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-17 16:54:44 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-17 16:54:44 +0000
commit435100cd4abbaf68711ac396b24f2aacc3cfc1cd (patch)
tree37eb0194f7c9eb4d8682d5a4ca6a888b5c21dfb9 /x11-toolkits/swt-devel
parentec70887df0871ef007c014084a8dc5e0c99df705 (diff)
downloadports-435100cd4abbaf68711ac396b24f2aacc3cfc1cd.tar.gz
ports-435100cd4abbaf68711ac396b24f2aacc3cfc1cd.zip
Notes
Diffstat (limited to 'x11-toolkits/swt-devel')
-rw-r--r--x11-toolkits/swt-devel/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/x11-toolkits/swt-devel/Makefile b/x11-toolkits/swt-devel/Makefile
index fbec6f10f5c4..2a4a7a4cc54a 100644
--- a/x11-toolkits/swt-devel/Makefile
+++ b/x11-toolkits/swt-devel/Makefile
@@ -79,14 +79,8 @@ DIST_EXT= gtk-linux-ppc64
DIST_EXT= gtk-linux-x86
.endif
-.include <bsd.port.pre.mk>
-
post-extract:
-.if ${OSVERSION} > 900044
- @(cd ${WRKSRC} && /usr/bin/unzip -qo *.zip)
-.else
- @(cd ${WRKSRC} && ${UNZIP_CMD} -qo *.zip)
-.endif
+ @(cd ${WRKSRC} && ${UNZIP_NATIVE_CMD} -qo *.zip)
@${RM} -f ${WRKSRC}/*.o ${WRKSRC}/*.so ${WRKSRC}/*.jar
post-patch:
@@ -99,4 +93,4 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${STAGEDIR}${JAVAJARDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>