aboutsummaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--misc/achievo/Makefile7
-rw-r--r--misc/achievo/pkg-plist2
2 files changed, 5 insertions, 4 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}
diff --git a/misc/achievo/pkg-plist b/misc/achievo/pkg-plist
index d9af734e4a54..91f442142e36 100644
--- a/misc/achievo/pkg-plist
+++ b/misc/achievo/pkg-plist
@@ -565,4 +565,4 @@
@dirrm %%ACHVODIR%%/atk/db
@dirrm %%ACHVODIR%%/atk/attributes
@dirrm %%ACHVODIR%%/atk
-@dirrm %%ACHVODIR%%
+@dirrmtry %%ACHVODIR%%