aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jpatch/Makefile
blob: a8df05bdea273e85e010bdc221f8096af3dfc05b (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
# ex:ts=8
# Ports collection makefile for:    jpatch
# Date created:         Jun 30, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   jpatch
PORTVERSION=    0.3.b1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}${PORTVERSION:S/.b/beta/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A spline based 3D modeling tool

USE_JAVA=   1.4+
NO_BUILD=   yes

PLIST_FILES=    ${JAVAJARDIR:S,^${PREFIX}/,,}/jpatch.jar \
        bin/jpatch

post-patch:
    @${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},' ${FILESDIR}/jpatch > ${WRKSRC}/jpatch

do-install:
    ${INSTALL_DATA} ${WRKSRC}/jpatch.jar ${JAVAJARDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/jpatch ${PREFIX}/bin

.include <bsd.port.mk>