diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-08-16 05:51:17 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-08-16 05:51:17 +0000 |
commit | be730b8600304750ac849475b65c01b6697d50c3 (patch) | |
tree | a258765da40cddf1407dd644e51689aa896386e9 /ports-mgmt/p5-FreeBSD-Portindex | |
parent | - Update to 1.2 (diff) |
- Respect DESTDIR
PR: ports/102011
Submitted by: Matthew Seaman <m.seaman(at)infracaninophile.co.uk>
Approved by: krion (mentor)
Diffstat (limited to 'ports-mgmt/p5-FreeBSD-Portindex')
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Portindex/Makefile | 6 |
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 |