freebsd-ports/games/hattrickorganizer/Makefile
Mark Linimon ac1c0d5635 Update to 1.38.
PR:		ports/91978
Submitted by:	Lars Engels <lars dot engels at 0x20 dot net> (maintainer)
2006-01-29 05:10:40 +00:00

35 lines
1,003 B
Makefile

# New ports collection makefile for: hattrickorganizer
# Date Created: 17 Jan 2005
# Whom: Lars Engels <lars.engels@0x20.net>
#
# $FreeBSD$
#
PORTNAME= hattrickorganizer
PORTVERSION= 1.38
CATEGORIES= games java
MASTER_SITES= http://www.wow-auctions.net/ho/download/ \
http://www.bsd-geek.de/FreeBSD/distfiles/
DISTNAME= ho_${PORTVERSION:S/.//g}
MAINTAINER= lars.engels@0x20.net
COMMENT= A management tool for Hattrick.org written in Java
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
USE_ZIP= yes
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_REINPLACE= yes
SUB_FILES= hattrickorganizer.sh
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
${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
.include <bsd.port.mk>