1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/jave6/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

44 lines
1.2 KiB
Makefile

# Ports collection makefile for: Jave
# Date created: 29 January 2006
# Whom: Andreas Daehn <ad001@uni-rostock.de>
#
# $FreeBSD$
PORTNAME= jave6
PORTVERSION= 0.1
PORTREVISION= 2
CATEGORIES= graphics java
MASTER_SITES= http://www.jave.de/developer/\
http://ikaria.informatik.uni-rostock.de/public_bsd/FreeBSD/
DISTNAME= jave_6.0_i20060105
EXTRACT_SUFX= .zip
MAINTAINER= ad001@uni-rostock.de
COMMENT= Java ASCII-Art-Generator
USE_JAVA= YES
USE_ZIP= YES
JAVA_VERSION= 1.3+
NO_BUILD= YES
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
LNKTARGET= ${PREFIX}/bin/jave6
HLPSKRIPT= jave6
PLIST_SUB+=DATADIR=%%JAVASHAREDIR%%/${PORTNAME}
do-install:
@${ECHO} "Installing JavE6 files in ${DATADIR}..."
@${MKDIR} ${DATADIR}
@${CP} -rv ${WRKDIR}/* ${DATADIR}
@${ECHO} "creating start script ${LNKTARGET}..."
@${ECHO} "#!/bin/sh" > ${DATADIR}/${HLPSKRIPT}
@${ECHO} "JAVA_VERSION=${JAVA_VERSION} exec ${LOCALBASE}/bin/java -jar ${DATADIR}/jave.jar" >> ${DATADIR}/${HLPSKRIPT}
@${CHMOD} a+x ${DATADIR}/${HLPSKRIPT}
@${LN} -sf ${DATADIR}/${HLPSKRIPT} ${LNKTARGET}
@${ECHO} "done."
post-install:
@${ECHO} "Errors may occur while running the program, as it will try to access ${DATADIR}/tmp/ for output."
.include <bsd.port.mk>