blob: 6439d7666340a8a9bd99d32bd23c35d7d9c219d0 (
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
43
44
45
|
# ex:ts=8
# Ports collection makefile for: batik
# Date created: Feb 25, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= batik
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= graphics java
MASTER_SITES= ${MASTER_SITE_APACHE_XML}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SVG Toolkit
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.3 1.4
WRKSRC= ${WRKDIR}/xml-${PORTNAME}
USE_ANT= yes
USE_JIKES= no
ALL_TARGET= jars
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
TARGET_DIR= ${WRKSRC}/${PORTNAME}-${PORTVERSION}
.if !defined(NOPORTDOCS)
ALL_TARGET+= html
.endif
do-install:
cd ${TARGET_DIR} \
&& ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
post-install:
@${FIND} -s ${TARGET_DIR} -type f | \
${SED} -e 's,^${TARGET_DIR},${DATADIR:S,${PREFIX}/,,},' >> ${TMPPLIST}
@${FIND} -s -d ${TARGET_DIR} -type d | \
${SED} -e 's,^${TARGET_DIR},@dirrm ${DATADIR:S,${PREFIX}/,,},' >> ${TMPPLIST}
.include <bsd.port.mk>
|