aboutsummaryrefslogtreecommitdiffstats
path: root/misc/achievo/Makefile
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-02-11 10:35:08 +0800
committerlawrance <lawrance@FreeBSD.org>2006-02-11 10:35:08 +0800
commit108978f13b5511730f9a7297455efaa770d1c31d (patch)
treeac902ace7d6d6c9dbe7c9708b96bf70b8a04c213 /misc/achievo/Makefile
parentb3e770551def1de5409c2e9a51b65df2cd6fd914 (diff)
downloadfreebsd-ports-gnome-108978f13b5511730f9a7297455efaa770d1c31d.tar.gz
freebsd-ports-gnome-108978f13b5511730f9a7297455efaa770d1c31d.tar.zst
freebsd-ports-gnome-108978f13b5511730f9a7297455efaa770d1c31d.zip
Change install location.
Fix pkg-plist. PR: ports/92891 Submitted by: Kevin Golding <kevin@caomhin.demon.co.uk> (maintainer)
Diffstat (limited to 'misc/achievo/Makefile')
-rw-r--r--misc/achievo/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/achievo/Makefile b/misc/achievo/Makefile
index 1dcfeb2b9b68..6284af2cdbc3 100644
--- a/misc/achievo/Makefile
+++ b/misc/achievo/Makefile
@@ -7,6 +7,7 @@
PORTNAME= achievo
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= misc www
MASTER_SITES= http://www.achievo.org/files/ \
http://www.caomhin.org/geek/ports/
@@ -21,15 +22,15 @@ WANT_PHP_MOD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= YES
-ACHVODIR?= www/data.default/achievo
+ACHVODIR?= www/achievo
PLIST_SUB= ACHVODIR=${ACHVODIR}
post-patch:
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
do-install:
- @${MKDIR} ${PREFIX}/www/data.default/achievo
- @${CP} -R ${WRKSRC}/* ${PREFIX}/www/data.default/achievo/
+ @${MKDIR} ${PREFIX}/${ACHVODIR}
+ @${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
@${CAT} ${PKGMESSAGE}