aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/swt-devel/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-02-20 17:20:52 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-02-20 17:20:52 +0000
commitdb9c2c04fc0333854563e1f0c75402ade391219a (patch)
tree5acdf6cb8dff15dc95a77316f33dbd0ae64307a4 /x11-toolkits/swt-devel/Makefile
parent2b463283e7cbed3bf0257cae2a3fdceb41ce167a (diff)
downloadports-db9c2c04fc0333854563e1f0c75402ade391219a.tar.gz
ports-db9c2c04fc0333854563e1f0c75402ade391219a.zip
Notes
Diffstat (limited to 'x11-toolkits/swt-devel/Makefile')
-rw-r--r--x11-toolkits/swt-devel/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/x11-toolkits/swt-devel/Makefile b/x11-toolkits/swt-devel/Makefile
index d0338e2a4e13..4b6c3b0c010f 100644
--- a/x11-toolkits/swt-devel/Makefile
+++ b/x11-toolkits/swt-devel/Makefile
@@ -6,22 +6,21 @@
#
PORTNAME= swt
-DISTVERSION= 3.6.2
-PORTEPOCH= 1
+DISTVERSION= 3.7.1
CATEGORIES= x11-toolkits devel java
-MASTER_SITES= ${MASTER_SITE_ECLIPSE}
-MASTER_SITE_SUBDIR= R-${DISTVERSION}-201102101200
+MASTER_SITES= ECLIPSE
+MASTER_SITE_SUBDIR= R-${DISTVERSION}-201109091335
PKGNAMESUFFIX= -devel
DISTNAME= swt-${DISTVERSION}-${DIST_EXT}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= conrads@cox.net
COMMENT= Standard Widget Toolkit for Java
LICENSE= EPL
ONLY_FOR_ARCHS= i386 amd64 powerpc
-SWT_VERSION= 3659
+SWT_VERSION= 3738
OUTPUT_JAR= ${PORTNAME}${PKGNAMESUFFIX}.jar
USE_ZIP= yes
@@ -74,13 +73,17 @@ MAKE_ENV+= MAKE_CAIRO=${MAKE_CAIRO} \
.if (${ARCH} == "amd64")
DIST_EXT= gtk-linux-x86_64
.elif (${ARCH} == "powerpc")
-DIST_EXT= gtk-linux-ppc
+DIST_EXT= gtk-linux-ppc64
.else
DIST_EXT= gtk-linux-x86
.endif
post-extract:
- @(cd ${WRKSRC} && ${UNZIP_CMD} -qo "*.zip")
+.if ${OSVERSION} > 900044
+ @(cd ${WRKSRC} && /usr/bin/unzip -qo *.zip)
+.else
+ @(cd ${WRKSRC} && ${UNZIP_CMD} -qo *.zip)
+.endif
@${RM} -f ${WRKSRC}/*.o ${WRKSRC}/*.so ${WRKSRC}/*.jar
post-patch: