summaryrefslogtreecommitdiff
path: root/ports-mgmt/p5-FreeBSD-Portindex
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
commit42542fb07642b8336e808272918f3ae46aa67e0b (patch)
tree98ff235c33c6493aa26457284f122652c38935f7 /ports-mgmt/p5-FreeBSD-Portindex
parent- Extract command variable definitions from bsd.port.mk, they are now stored in (diff)
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
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 c89d8e638151..c74706b1aa24 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?= ${DESTDIR}/var/db/portindex
+CACHE_DIR?= /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 ${TARGETDIR}/etc/${CFG_FILE}.sample
- cd ${TARGETDIR}/etc ; \
+ ${INSTALL_DATA} ${CFG_FILE}.sample ${PREFIX}/etc/${CFG_FILE}.sample
+ cd ${PREFIX}/etc ; \
if ${TEST} ! -f ${CFG_FILE} ; then \
${CP} -p ${CFG_FILE}.sample ${CFG_FILE} ; \
fi