aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/p5-FreeBSD-Portindex
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-08-16 05:51:17 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-08-16 05:51:17 +0000
commitbe730b8600304750ac849475b65c01b6697d50c3 (patch)
treea258765da40cddf1407dd644e51689aa896386e9 /ports-mgmt/p5-FreeBSD-Portindex
parent7772786ee885f9d09c80bd70c2943cde39999ab3 (diff)
downloadports-be730b8600304750ac849475b65c01b6697d50c3.tar.gz
ports-be730b8600304750ac849475b65c01b6697d50c3.zip
Notes
Diffstat (limited to 'ports-mgmt/p5-FreeBSD-Portindex')
-rw-r--r--ports-mgmt/p5-FreeBSD-Portindex/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/p5-FreeBSD-Portindex/Makefile b/ports-mgmt/p5-FreeBSD-Portindex/Makefile
index c106aa6b7a3e..8c87cd042cab 100644
--- a/ports-mgmt/p5-FreeBSD-Portindex/Makefile
+++ b/ports-mgmt/p5-FreeBSD-Portindex/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
PERL_CONFIGURE= yes
-CACHE_DIR?= /var/db/portindex
+CACHE_DIR?= ${DESTDIR}/var/db/portindex
CACHE_OWNER?= root
CACHE_GROUP?= operator
CACHE_MODE?= 0775
@@ -45,8 +45,8 @@ post-install: install-conf install-cache
install-conf:
cd ${WRKSRC} ; \
- ${INSTALL_DATA} ${CFG_FILE}.sample ${PREFIX}/etc/${CFG_FILE}.sample
- cd ${PREFIX}/etc ; \
+ ${INSTALL_DATA} ${CFG_FILE}.sample ${TARGETDIR}/etc/${CFG_FILE}.sample
+ cd ${TARGETDIR}/etc ; \
if ${TEST} ! -f ${CFG_FILE} ; then \
${CP} -p ${CFG_FILE}.sample ${CFG_FILE} ; \
fi