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

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

MAINTAINER= znerd@FreeBSD.org

PLIST_SUB+= TARGET_PREFIX=${TARGET_DIR:S/^${PREFIX}\///}
PLIST_SUB+= PREFIX=${PREFIX}
TARGET_DIR?=    ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}

NO_BUILD=   yes

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>