blob: 9b510e638eaba28d721a1da3c8d75ca85865587f (
plain)
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
|
# Ports collection makefile for: Jakarta Regexp
# Date created: 2000/12/01
# Whom: Dave Glowacki <dglo@ssec.wisc.edu> #
# $FreeBSD$
#
PORTNAME= jakarta-regexp
PORTVERSION= 1.2
CATEGORIES= java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-regexp/release/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= dglo@ssec.wisc.edu
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk12-beta
RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk12-beta
JAVA_HOME?= ${LOCALBASE}/jdk1.2.2
do-build:
@cd ${WRKSRC}/build && PATH=$$PATH:${JAVA_HOME}/bin JAVA_HOME=${JAVA_HOME} ${SH} build-regexp.sh package
do-install:
@${MKDIR} ${PREFIX}/share/java/classes
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${LOCALBASE}/share/java/classes/${PORTNAME}.jar
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@(cd ${WRKSRC}/docs/api && ${TAR} -c -f - .) \
| (cd ${PREFIX}/share/doc/${PORTNAME} && ${TAR} --unlink -x -f -)
@(cd ${PREFIX} \
&& find share/doc/${PORTNAME} -type f -print >> ${TMPPLIST})
.endif
.include <bsd.port.mk> END-of-jakarta-regexp/Makefile
|