aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:22:48 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:22:48 +0000
commitf2a121d19d4ca66be50354e54dc6998523dd32ae (patch)
tree443dd7b3cd53ef85aa20764f7cb8ebb02c76c961
parentecba71fb96e4e98b10db056ca31cbabfa32ef258 (diff)
downloadports-f2a121d19d4ca66be50354e54dc6998523dd32ae.tar.gz
ports-f2a121d19d4ca66be50354e54dc6998523dd32ae.zip
Notes
-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>