1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Herve Quiroz
1701946e54 - Update to 1.0 Final (bumped PORTEPOCH in this extend)
- re-enable jikes support
- Dynamic pkg-plist
- Use JAVALIBDIR

Approved by:	glewis (mentor)
2004-10-20 11:56:32 +00:00
Herve Quiroz
1187b1ee26 - Update to 1.0b10
- Use USE_ANT
- Set USE_JIKES=no to forbid the use of Jikes to build the port
- Use %%JAVAJARDIR%%
- Use ${INSTALL_DATA} and ${CPIO} rather than ${CP} [1]
- Use ${ECHO_MSG} rather than ${ECHO}
- Add 'textproc' category
- Fix LOCALBASE/PREFIX issue with JAVAJARDIR [1]

PR:		68511
Submitted by:	me
Reviewed by:	glewis [1]
Approved by:	znerd (maintainer), glewis (mentor)
2004-08-16 12:30:48 +00:00
Trevor Johnson
3bca696b10 Add size data, approved by maintainers. 2004-03-18 18:01:13 +00:00
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
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
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