1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/java/servingxml/Makefile
Baptiste Daroussin 7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00

34 lines
777 B
Makefile

# Created by: jpbeconne
# $FreeBSD$
PORTNAME= servingxml
PORTVERSION= 1.1.2
CATEGORIES= java devel
MASTER_SITES= SF
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
ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
ANT_TARGETS= dist
JAVA_BUILD= yes
FETCH_ARGS= -pRr
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
.include <bsd.port.mk>