aboutsummaryrefslogtreecommitdiff
path: root/java/jdom/Makefile
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-06-13 14:23:21 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-06-13 14:23:21 +0000
commit6f1f7d07e137ab4de98b544b752e0d057f62c121 (patch)
treef04097ffdc1f99f51369ecc3c2c2df5e616e9d05 /java/jdom/Makefile
parent9e0fec0a9ccb06e87173a6f0e5c55fe0d6f6a71b (diff)
downloadports-6f1f7d07e137ab4de98b544b752e0d057f62c121.tar.gz
ports-6f1f7d07e137ab4de98b544b752e0d057f62c121.zip
Notes
Diffstat (limited to 'java/jdom/Makefile')
-rw-r--r--java/jdom/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/java/jdom/Makefile b/java/jdom/Makefile
index 84e5ef4ce412..5874d8707687 100644
--- a/java/jdom/Makefile
+++ b/java/jdom/Makefile
@@ -7,22 +7,36 @@
PORTNAME= jdom
PORTVERSION= 1.0b8
+PORTREVISION= 1
CATEGORIES= java
-MASTER_SITES= http://www.jdom.org/dist/binary/
+MASTER_SITES= http://www.jdom.org/dist/source/ \
+ http://www.metaverse.nl/~ernst/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= znerd
DISTNAME= ${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
MAINTAINER= znerd@FreeBSD.org
-NO_BUILD= yes
+BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-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:
- ${MKDIR} ${TARGET_DIR}
- ${CP} -r ${WRKSRC}/* ${TARGET_DIR}
+ @${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
+ @${MKDIR} ${TARGET_DIR}
+ @${ECHO} " [ DONE ]"
+
+ @${ECHO} -n ">> Copying files..."
+ @${CP} -r ${WRKSRC}/* ${TARGET_DIR}
+ @${ECHO} " [ DONE ]"
.include <bsd.port.mk>