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

PORTNAME=   gnu-regexp
PORTVERSION=    1.1.4
CATEGORIES= java devel
MASTER_SITES=   ftp://ftp.tralfamadore.com/pub/java/
DISTNAME=   gnu.regexp-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A regexp library for Java

USE_JAVA=   yes
NO_BUILD=   yes

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

do-install:
    ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar \
        ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/docs && ${FIND} . \
        | ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
.endif

.include <bsd.port.mk>