a20abf0b6b
The update is needed to connect to the hattrick.org servers. From WWW: "In short, we patched HO to work with the latest HT changes. Be aware that some modules may not work as expected. We were not able fix all issues, perhaps they are related due to errors of HT servers. We will keep an eye on these errors and create more patches if needed." Approved by: portmgr (erwin), miwi (mentor)
33 lines
896 B
Makefile
33 lines
896 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.397
|
|
PORTEPOCH= 1
|
|
CATEGORIES= games java
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= ho1
|
|
DISTNAME= HO_${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
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+
|
|
|
|
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>
|