freebsd-ports/graphics/jpatch/Makefile
Herve Quiroz 38d38bf8c0 - Update to bsd.java.mk 2.0
- Enforce a specific version (1.4+) in the launcher shell script
- Use SUB_FILES to patch the launche shell script
2005-02-03 01:11:00 +00:00

34 lines
695 B
Makefile

# 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
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
bin/jpatch
SUB_FILES= jpatch.sh
do-install:
${INSTALL_DATA} ${WRKSRC}/jpatch.jar ${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/jpatch.sh ${PREFIX}/bin/jpatch
.include <bsd.port.mk>