aboutsummaryrefslogtreecommitdiffstats
path: root/java/gnu-regexp/Makefile
blob: 1d742dc16113b9185deb36f1b8c31fa8565edaa7 (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
# New ports collection makefile for:        gnu-regexp
# Date created:                 December 6th 2000
# Whom:                     des
#
# $FreeBSD$
#

PORTNAME=   gnu-regexp
PORTVERSION=    1.0.8
CATEGORIES= java devel
MASTER_SITES=   ftp://ftp.cacas.org/pub/java/
DISTNAME=   gnu.regexp-${PORTVERSION}

MAINTAINER= des@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
RUN_DEPENDS=    ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk

NO_BUILD=   yes

DOCDIR=     ${PREFIX}/share/doc/${PORTNAME}

do-install:
    ${MKDIR} ${DOCDIR}
    (cd ${WRKSRC}/docs && tar cf - . | tar --unlink -xpf - -C ${DOCDIR})
    ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar \
        ${PREFIX}/share/java/classes/${PORTNAME}.jar

.include <bsd.port.mk>