Commit Graph

10 Commits

Author SHA1 Message Date
Ernst de Haan
7eedd70266 # New ports collection makefile for: JDOM
# Date created:		June 1, 2001
# Whom:			Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD: ports/java/jdom/Makefile,v 1.8 2003/07/23 14:30:27 znerd Exp $
#

PORTNAME=	jdom
PORTVERSION=	1.0b9
CATEGORIES=	java
MASTER_SITES=	http://www.jdom.org/dist/source/
DISTNAME=	${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}

MAINTAINER=	znerd@FreeBSD.org
COMMENT=	Java library for accessing and manipulating XML documents

BUILD_DEPENDS=	${ANT}:${PORTSDIR}/devel/apache-ant

USE_JAVA=	1.2+

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
PLIST_SUB+=	T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?=	${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}
ANT?=		${LOCALBASE}/bin/ant
ANT_TARGET=	package javadoc

do-build:
	@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}

do-install:
	@${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
	@${MKDIR} ${TARGET_DIR}
	@${ECHO} " [ DONE ]"

	@${ECHO} -n ">> Copying files..."
	@${CP} -r ${WRKSRC}/* ${TARGET_DIR}
	@${ECHO} " [ DONE ]"

	@${ECHO} -n ">> Installing JAR..."
	@${CP} ${WRKSRC}/build/jdom.jar ${PREFIX}/share/java/classes/
	@${ECHO} " [ DONE ]"

.include <bsd.port.mk>
2003-07-23 14:34:04 +00:00
Ernst de Haan
b093017dc6 Port devel/jakarta-ant was renamed to devel/apache-ant.
Reported by:	kris
Pointy hat to:	me
2003-07-23 14:30:29 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ernst de Haan
c41b2d3731 Installing JAR file in ${PREFIX}/share/java/classes/.
Bumped PORTREVISION.
2002-11-18 14:45:35 +00:00
Kris Kennaway
063c457172 Don't remove system directories share/java, share/java/classes, and
share/doc
2002-11-10 22:44:03 +00:00
Ernst de Haan
6f1f7d07e1 Now builds from source using Ant.
Added some download locations.
Bumped PORTREVISION.
2002-06-13 14:23:21 +00:00
Ernst de Haan
7b2004b484 Upgrade to JDOM beta 8. Also now using USE_JAVA. 2002-03-30 21:50:28 +00:00
Ernst de Haan
e7ca6f5a85 Upgraded from 1.0b6 to 1.0b7. 2002-03-02 14:13:39 +00:00
Ernst de Haan
3c72e7a54f Changed my email address from ernst@jollem.com to znerd@FreeBSD.org.
Approved by: sobomax
2001-11-27 12:20:49 +00:00
James E. Housley
574972e972 Java library for accessing and manipulating XML documents.
PR:		27814
Submitted by:	Ernst de Haan <ernst@jollem.com>
2001-06-25 02:13:24 +00:00