aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2010-03-04 03:18:14 +0800
committerglarkin <glarkin@FreeBSD.org>2010-03-04 03:18:14 +0800
commit24db3010afbfb27f3b44c93f79401c1af3721eed (patch)
treeb3f19a9839fa196f4c5ef8007c7b6fad2fdfc2fc /net
parentc48936752ed90dadbfde5210427178c846ee76ce (diff)
downloadfreebsd-ports-graphics-24db3010afbfb27f3b44c93f79401c1af3721eed.tar.gz
freebsd-ports-graphics-24db3010afbfb27f3b44c93f79401c1af3721eed.tar.zst
freebsd-ports-graphics-24db3010afbfb27f3b44c93f79401c1af3721eed.zip
- Various bootstrap jar files were downloaded as part of the build
phase. Prevent that from happening and move the jar fetching to the distfile fetch phase, so checksums are recorded properly and pointyhat builds will work. Reported by: pointyhat (via erwin) Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/openmq/Makefile26
-rw-r--r--net/openmq/distinfo9
2 files changed, 31 insertions, 4 deletions
diff --git a/net/openmq/Makefile b/net/openmq/Makefile
index 00109552549..b1e579a968f 100644
--- a/net/openmq/Makefile
+++ b/net/openmq/Makefile
@@ -9,13 +9,20 @@ PORTNAME= openmq
PORTVERSION= 4.4.u1.b7
PORTEPOCH= 1
CATEGORIES= net java
-MASTER_SITES= http://download.java.net/mq/open-mq/4.4u1/b7-final/
-DISTNAME= openmq4_4-source
+MASTER_SITES= http://download.java.net/mq/open-mq/4.4u1/b7-final/ \
+ http://download.java.net/maven/2/javax/javaee-api/6.0-SNAPSHOT/:2 \
+ http://download.java.net/maven/2/com/sun/grizzly/grizzly-nio-framework/1.9.18a/:3 \
+ http://download.java.net/maven/2/com/sun/woodstock/dependlibs/jhall/2.0/:4
+DISTFILES= ${SRCDIST} ${BOOTJARS}
+EXTRACT_ONLY= ${SRCDIST}
MAINTAINER= hsn@sendmail.cz
COMMENT= Open Message Queue - Java Message Service Broker ${CLIENT_COMMENT}
-BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget
+SRCDIST= openmq4_4-source.zip
+BOOTJARS= javaee-api-6.0-SNAPSHOT.jar:2 \
+ grizzly-nio-framework-1.9.18a.jar:3 \
+ jhall-2.0.jar:4
USE_ZIP= yes
USE_JAVA= yes
@@ -26,13 +33,24 @@ WRKSRC= ${WRKDIR}/mq
PLIST= ${WRKDIR}/pkg-plist
USE_ANT= yes
-ALL_TARGET= bootstrap all
.ifndef IMQ_CLIENT
USE_RC_SUBR= imq
.else
SUB_FILES= pkg-message
.endif
+# Get the bootstrap jars in place before the build starts, because
+# pointyhat doesn't allow them to be downloaded by the "bootstrap"
+# target in the Ant file.
+pre-build:
+ @${MKDIR} ${WRKSRC}/extlib
+ @${CP} ${DISTDIR}/javaee-api-6.0-SNAPSHOT.jar \
+ ${WRKSRC}/extlib/javaee-api-6.0.jar
+ @${CP} ${DISTDIR}/grizzly-nio-framework-1.9.18a.jar \
+ ${WRKSRC}/extlib/grizzly.jar
+ @${CP} ${DISTDIR}/jhall-2.0.jar \
+ ${WRKSRC}/extlib/jhall.jar
+
post-build:
@${RM} ${WRKSRC}/dist/mq/bin/*.exe
@cd ${WRKSRC}/dist/mq/etc && \
diff --git a/net/openmq/distinfo b/net/openmq/distinfo
index 811021929a1..f42dfc415ca 100644
--- a/net/openmq/distinfo
+++ b/net/openmq/distinfo
@@ -1,3 +1,12 @@
MD5 (openmq4_4-source.zip) = 64b7421782675fbf94c038012e950a6d
SHA256 (openmq4_4-source.zip) = 56e3c5e2c53cee12076f4974236c7f72a5069bb7034b633747c3721d42d57346
SIZE (openmq4_4-source.zip) = 6892740
+MD5 (javaee-api-6.0-SNAPSHOT.jar) = ca7757897353c5c48c368dace0a6ac41
+SHA256 (javaee-api-6.0-SNAPSHOT.jar) = 3e8123a4cfb8e282df0727928ec3321a77ebc6814b5ea98082597f25eed849a1
+SIZE (javaee-api-6.0-SNAPSHOT.jar) = 975565
+MD5 (grizzly-nio-framework-1.9.18a.jar) = 571cbb14cd445bb868a2614a21716a20
+SHA256 (grizzly-nio-framework-1.9.18a.jar) = 7613172e7f3b6012f3cb6f7f25c3e562742e8ac6490062938015e6d60c22e2e9
+SIZE (grizzly-nio-framework-1.9.18a.jar) = 676447
+MD5 (jhall-2.0.jar) = 3701ef7da65fd8796d72986763e3f780
+SHA256 (jhall-2.0.jar) = fb3b0b6dd649954fc01bdb8480e04d532a147b4200bc87853b0b7ed13b8c0864
+SIZE (jhall-2.0.jar) = 557529