aboutsummaryrefslogtreecommitdiffstats
path: root/java/perltools/Makefile
blob: 58a11ab4925d2c111de451d43112d36e125fc9de (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:    PerlTools
# Date created:     2000/08/12
# Whom:         Marcin Cieslak
#
# $FreeBSD$
#

PORTNAME=   PerlTools
PORTVERSION=    1.2
CATEGORIES= java
MASTER_SITES=   http://www.savarese.org/oro/downloads/download/

MAINTAINER= saper@system.pl

RUN_DEPENDS=    ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}.0a
JDK_VERSION=    1.1.8
NO_BUILD=   yes
NO_CDROM=   "See the license"

PLIST_SUB=  PORTVERSION="${PORTVERSION}"

.include <bsd.port.pre.mk>

do-install:
    @cd ${WRKSRC}; \
        ${MKDIR} ${PREFIX}/share/java/classes/; \
        ${CP} ${WRKSRC}/PerlTools.jar ${PREFIX}/share/java/classes/; \
        ${MKDIR} ${PREFIX}/share/java/${PKGNAME}/; \
        ${CP} CHANGES License.html README ${PREFIX}/share/java/${PKGNAME}/; \
        ${CP} -R doc ${PREFIX}/share/java/${PKGNAME}/; \
        ${CP} -R examples ${PREFIX}/share/java/${PKGNAME}/

.include <bsd.port.post.mk>