2005-05-20 14:19:58 +02:00
|
|
|
# New ports collection makefile for: hattrickorganizer
|
|
|
|
# Date Created: 17 Jan 2005
|
|
|
|
# Whom: Lars Engels <lars.engels@0x20.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hattrickorganizer
|
2007-11-11 22:38:06 +01:00
|
|
|
PORTVERSION= 1.397
|
2006-09-13 10:50:18 +02:00
|
|
|
PORTEPOCH= 1
|
2005-05-20 14:19:58 +02:00
|
|
|
CATEGORIES= games java
|
2007-11-11 22:38:06 +01:00
|
|
|
MASTER_SITES= SF
|
2006-09-13 10:50:18 +02:00
|
|
|
MASTER_SITE_SUBDIR= ho1
|
2006-11-01 20:01:00 +01:00
|
|
|
DISTNAME= HO_${PORTVERSION:S/.//g}
|
2005-05-20 14:19:58 +02:00
|
|
|
|
2007-07-12 20:52:00 +02:00
|
|
|
MAINTAINER= lme@FreeBSD.org
|
2005-05-20 14:19:58 +02:00
|
|
|
COMMENT= A management tool for Hattrick.org written in Java
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
|
|
|
|
2006-01-29 06:10:40 +01:00
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
2005-05-20 14:19:58 +02:00
|
|
|
|
2005-09-20 16:52:31 +02:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
|
|
|
|
cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
2006-01-29 06:10:40 +01:00
|
|
|
${REINPLACE_CMD} -e 's|HODIR=`pwd`|HODIR=${DATADIR}|' ${WRKSRC}/HO.sh
|
|
|
|
${REINPLACE_CMD} 's|^HOHOME=.*|HOHOME=~/\.hattrickorganizer|' ${WRKSRC}/HO.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/HO.sh ${PREFIX}/bin/hattrickorganizer
|
2005-05-20 14:19:58 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|