2001-01-19 14:35:59 +01:00
|
|
|
# New ports collection makefile for: achievo
|
|
|
|
# Date created: 19 Jan 2001
|
|
|
|
# Whom: mkptools
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= achievo
|
2005-10-07 19:34:06 +02:00
|
|
|
PORTVERSION= 1.1.0
|
2006-02-11 03:35:08 +01:00
|
|
|
PORTREVISION= 1
|
2001-01-19 14:35:59 +01:00
|
|
|
CATEGORIES= misc www
|
2005-02-15 21:10:04 +01:00
|
|
|
MASTER_SITES= http://www.achievo.org/files/ \
|
|
|
|
http://www.caomhin.org/geek/ports/
|
2001-01-19 14:35:59 +01:00
|
|
|
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
|
|
|
|
|
2004-01-30 11:22:15 +01:00
|
|
|
MAINTAINER= kevin@caomhin.demon.co.uk
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A flexible web-based resource management tool
|
2001-01-19 14:35:59 +01:00
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
USE_PHP= yes
|
2004-01-30 11:22:15 +01:00
|
|
|
WANT_PHP_MOD= yes
|
2001-01-19 14:35:59 +01:00
|
|
|
|
2001-08-05 15:26:13 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-01-19 14:35:59 +01:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
2006-02-11 03:35:08 +01:00
|
|
|
ACHVODIR?= www/achievo
|
2005-10-07 19:34:06 +02:00
|
|
|
PLIST_SUB= ACHVODIR=${ACHVODIR}
|
|
|
|
|
2004-03-21 19:17:41 +01:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
|
|
|
|
|
2001-01-19 14:35:59 +01:00
|
|
|
do-install:
|
2006-02-11 03:35:08 +01:00
|
|
|
@${MKDIR} ${PREFIX}/${ACHVODIR}
|
|
|
|
@${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR}
|
2005-10-07 19:34:06 +02:00
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
|
2001-08-05 15:26:13 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-01-19 14:35:59 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|