blob: 4df5924b32655c8b9c2c37ddc25384e536d0cf32 (
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
38
39
40
41
42
|
# New ports collection makefile for: JUMP Ultimate Math Package
# Date created: June 13, 2002
# Whom: Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmlenc
PORTVERSION= 0.44
CATEGORIES= textproc java
MASTER_SITES= http://${PORTNAME}.sourceforge.net/
MAINTAINER= hq@FreeBSD.org
COMMENT= Light-weight XML encoding library for Java
USE_JAVA= yes
USE_ANT= yes
.if defined(NOPORTDOCS)
ALL_TARGET= jar
.else
ALL_TARGET= jar javadoc
PORTDOCS= *
.endif
JARFILE= ${PORTNAME}.jar
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${MKDIR} ${JAVAJARDIR}
@${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
@cd ${WRKSRC}/build/javadoc/ \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.mk>
|