mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
35 lines
767 B
Makefile
35 lines
767 B
Makefile
# Created by: mkptools
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= achievo
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= misc www
|
|
MASTER_SITES= http://www.achievo.org/files/ \
|
|
http://www.caomhin.org/geek/ports/
|
|
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
|
|
|
|
MAINTAINER= kevin@caomhin.demon.co.uk
|
|
COMMENT= A flexible web-based resource management tool
|
|
|
|
USE_PHP= yes
|
|
WANT_PHP_MOD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
NO_BUILD= YES
|
|
|
|
ACHVODIR?= www/achievo
|
|
PLIST_SUB= ACHVODIR=${ACHVODIR}
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/${ACHVODIR}
|
|
@${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|