aboutsummaryrefslogtreecommitdiff
path: root/databases/phpmyadmin/Makefile
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 /databases/phpmyadmin/Makefile
parent4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff)
downloadports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz
ports-42542fb07642b8336e808272918f3ae46aa67e0b.zip
- 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)
Notes
Notes: svn path=/head/; revision=197075
Diffstat (limited to 'databases/phpmyadmin/Makefile')
-rw-r--r--databases/phpmyadmin/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index a326c57cd0a6..06625a470573 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -58,7 +58,7 @@ OPTIONS= BZ2 "bzip2 library support" on \
MCRYPT "MCrypt library support" on \
MBSTRING "Multi-byte character-set string support" on
-PORT_DBDIR?= ${DESTDIR}/var/db/ports
+PORT_DBDIR?= /var/db/ports
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
@@ -137,7 +137,7 @@ do-install: install-app install-conf
install-app:
cd ${WRKSRC} ; \
for src in $$( ${FIND} . ! -name .cvsignore ) ; do \
- dst=${TARGETDIR}/${MYADMDIR}$${src#.} ; \
+ dst=${PREFIX}/${MYADMDIR}$${src#.} ; \
if ${TEST} -d $$src ; then \
${MKDIR} $$dst ; \
else \
@@ -146,7 +146,7 @@ install-app:
done
install-conf: install-app
- cd ${TARGETDIR}/${MYADMDIR} ; \
+ cd ${PREFIX}/${MYADMDIR} ; \
${CHMOD} 0640 ${CFGFILE}.sample ; \
${CHGRP} ${MYADMGRP} ${CFGFILE}.sample ; \
if ${TEST} ! -f ${CFGFILE} ; then \