aboutsummaryrefslogtreecommitdiff
path: root/java/castor/Makefile
blob: afd6e7167f643633a8e1b82b3ec6385edc390465 (plain) (blame)
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
# Ports collection makefile for:    Castor
# Date created:         2005/05/12
# Whom:                 Adam VanderHook <acidos@bandwidth-junkies.net>
#
# $FreeBSD$
#

PORTNAME=	castor
PORTVERSION=	0.9.6
CATEGORIES=	java devel
MASTER_SITES=	http://dist.codehaus.org/castor/${PORTVERSION}/
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=	.tgz

MAINTAINER=	acidos@bandwidth-junkies.net
COMMENT=	Data binding for XML (JAXB) and SQL database (JDO)

USE_JAVA=	yes
JAVA_VERSION=	1.4
USE_ANT=	yes
USE_JIKES=	no

ALL_TARGET=	jar

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC=	${WRKSRC}/src

JAVALIBNAME=	${PORTNAME}-${PORTVERSION}
JARFILE=	${PORTNAME}.jar
PLIST_FILES=	%%JAVAJARDIR%%/${JARFILE}

do-install:
	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
	@${INSTALL_DATA} ${WRKSRC}/dist/${JAVALIBNAME}.jar ${JAVAJARDIR}/${JARFILE}
	@${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>