aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdom/Makefile
blob: 84e5ef4ce41289c6e0509449805e10b6f71fc1a3 (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
# New ports collection makefile for:    JDOM
# Date created:     June 1, 2001
# Whom:         Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jdom
PORTVERSION=    1.0b8
CATEGORIES= java
MASTER_SITES=   http://www.jdom.org/dist/binary/
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}

MAINTAINER= znerd@FreeBSD.org

NO_BUILD=   yes

USE_JAVA=   1.2+

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?=    ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}

do-install:
    ${MKDIR} ${TARGET_DIR}
    ${CP} -r ${WRKSRC}/* ${TARGET_DIR}

.include <bsd.port.mk>