aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-18 02:22:48 +0800
committerantoine <antoine@FreeBSD.org>2014-02-18 02:22:48 +0800
commita719f0cbed8148b82fb65050c646db3ae887b378 (patch)
tree443dd7b3cd53ef85aa20764f7cb8ebb02c76c961 /java
parent3a858bfdff55640417eb6927fb5eb4fcbf2c82ba (diff)
downloadfreebsd-ports-gnome-a719f0cbed8148b82fb65050c646db3ae887b378.tar.gz
freebsd-ports-gnome-a719f0cbed8148b82fb65050c646db3ae887b378.tar.zst
freebsd-ports-gnome-a719f0cbed8148b82fb65050c646db3ae887b378.zip
- Stage support
- Remove infozip dependency
Diffstat (limited to 'java')
-rw-r--r--java/servingxml/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/java/servingxml/Makefile b/java/servingxml/Makefile
index 694dcd59151b..07385903ab80 100644
--- a/java/servingxml/Makefile
+++ b/java/servingxml/Makefile
@@ -5,13 +5,13 @@ PORTNAME= servingxml
PORTVERSION= 1.1.2
CATEGORIES= java devel
MASTER_SITES= SF
+EXTRACT_SUFX= .zip
MAINTAINER= jpbeconne@free.fr
COMMENT= Framework for flat/XML data transformations
BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant
-USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
ANT_CMD?= ${LOCALBASE}/bin/ant
@@ -19,15 +19,13 @@ ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
ANT_TARGETS= dist
JAVA_BUILD= yes
-NO_STAGE= yes
do-build:
@cd ${WRKSRC} && ${ANT} ${ANT_TARGETS}
do-install:
- ${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
- (cd ${WRKSRC}/target/${PORTNAME} && ${COPYTREE_SHARE} \* ${JAVASHAREDIR}/${PORTNAME})
- ${CHMOD} 555 ${JAVASHAREDIR}/${PORTNAME}
- ${CHMOD} 555 ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}
-post-install:
- ${CAT} pkg-message
+ ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
+ (cd ${WRKSRC}/target/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME})
+ ${CHMOD} 555 ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
+ ${CHMOD} 555 ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}
+
.include <bsd.port.mk>