summaryrefslogtreecommitdiffstats
path: root/java/servingxml/Makefile
blob: ffb59f6931c42d726d9cba0be124776143cce431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:   servingxml
# Date created:        6 September 2009
# Whom:                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.5+
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>
OpenPOWER on IntegriCloud