aboutsummaryrefslogtreecommitdiff
path: root/devel/maven-ant-tasks
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-28 09:35:26 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-28 09:35:26 +0000
commit4b9c3a7e5b2897eb0a99b81c88d6eb5ddda93187 (patch)
tree67591f1f9b9da32e8654024976ac83cd84f89313 /devel/maven-ant-tasks
parent4a4d617c26f5b569eb72f3ff12e2d04f34077cce (diff)
downloadports-4b9c3a7e5b2897eb0a99b81c88d6eb5ddda93187.tar.gz
ports-4b9c3a7e5b2897eb0a99b81c88d6eb5ddda93187.zip
Notes
Diffstat (limited to 'devel/maven-ant-tasks')
-rw-r--r--devel/maven-ant-tasks/Makefile17
-rw-r--r--devel/maven-ant-tasks/distinfo6
2 files changed, 9 insertions, 14 deletions
diff --git a/devel/maven-ant-tasks/Makefile b/devel/maven-ant-tasks/Makefile
index 8737f67ca7ec..29525c4baf87 100644
--- a/devel/maven-ant-tasks/Makefile
+++ b/devel/maven-ant-tasks/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= maven-ant-tasks
-PORTVERSION= 2.1.0
-DISTVERSIONSUFFIX= -src
+PORTVERSION= 2.1.1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= maven/source
+MASTER_SITE_SUBDIR= maven/binaries
+EXTRACT_SUFX= .jar
MAINTAINER= utisoft@gmail.com
COMMENT= Allows Maven's artifact handling to be used from within an Ant build
@@ -18,21 +18,16 @@ COMMENT= Allows Maven's artifact handling to be used from within an Ant build
BUILD_DEPENDS= mvn:${PORTSDIR}/devel/maven2
RUN_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LICENSE= ASL
-LICENSE_FILE= ${WRKSRC}/LICENSE
-USE_ZIP= yes
USE_JAVA= 1.5+
-
JAR_NAME= ${PORTNAME}-${PORTVERSION}.jar
-PLIST_FILES= %%JAVASHAREDIR%%/apache-ant/lib/${JAR_NAME}
+NO_BUILD= yes
-do-build:
- @cd ${WRKSRC} && mvn package
+PLIST_FILES= %%JAVASHAREDIR%%/apache-ant/lib/${JAR_NAME}
do-install:
- @${INSTALL_DATA} "${WRKSRC}/target/${JAR_NAME}" ${JAVASHAREDIR}/apache-ant/lib/
+ @${INSTALL_DATA} ${DISTDIR}/${JAR_NAME} ${JAVASHAREDIR}/apache-ant/lib/
.include <bsd.port.mk>
diff --git a/devel/maven-ant-tasks/distinfo b/devel/maven-ant-tasks/distinfo
index 36c1bf804e06..28469306424d 100644
--- a/devel/maven-ant-tasks/distinfo
+++ b/devel/maven-ant-tasks/distinfo
@@ -1,3 +1,3 @@
-MD5 (maven-ant-tasks-2.1.0-src.zip) = 80da5f2710db95414edb569ce2af30af
-SHA256 (maven-ant-tasks-2.1.0-src.zip) = fb4192e9b5d53e0e84f201851d539c08f4b48edc39444ec504e54431f90b1b5c
-SIZE (maven-ant-tasks-2.1.0-src.zip) = 158289
+MD5 (maven-ant-tasks-2.1.1.jar) = 8009291392455597cc4b199b32d410ba
+SHA256 (maven-ant-tasks-2.1.1.jar) = b8891b4a90aca2793ad385ab57216f51c4879c6ab7e927354f407b46510cab51
+SIZE (maven-ant-tasks-2.1.1.jar) = 1314262