[Midnightbsd-cvs] mports: Makefile: This should fix the fake errors found on magus

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Apr 30 23:59:54 EDT 2008


Log Message:
-----------
This should fix the fake errors found on magus

Modified Files:
--------------
    mports/www/polipo:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/polipo/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L www/polipo/Makefile -L www/polipo/Makefile -u -r1.2 -r1.3
--- www/polipo/Makefile
+++ www/polipo/Makefile
@@ -8,7 +8,7 @@
 
 PORTNAME=	polipo
 PORTVERSION=	1.0.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
 		http://www.sax.de/~frank/polipo4bsd/files/
@@ -41,7 +41,7 @@
 # polipo installation options, propagated to install scripts
 PUSER?=		polipo
 PGRP?=		polipo
-PCONFIGDIR?=	${PREFIX}/etc/polipo/
+PCONFIGDIR?=	${TRUE_PREFIX}/etc/polipo/
 PCACHEDIR?=	/var/cache/polipo
 PPIDDIR?=	/var/run/polipo/
 PPIDFILE=	${PPIDDIR}polipo.pid
@@ -56,10 +56,10 @@
 	${MKDIR} ${PREFIX}/etc/periodic/daily/
 	${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${PREFIX}/etc/periodic/daily/
 	${INSTALL_MAN} ${WRKSRC}/polipo.man ${PREFIX}/man/man1/polipo.1
-	${MKDIR} ${PCONFIGDIR}
-	${INSTALL_DATA} ${WRKSRC}/config.sample ${PCONFIGDIR}
-	${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${PCONFIGDIR}
-	${CHGRP} -R ${PGRP} ${PCONFIGDIR}
+	${MKDIR} ${FAKE_DESTDIR}${PCONFIGDIR}
+	${INSTALL_DATA} ${WRKSRC}/config.sample ${FAKE_DESTDIR}${PCONFIGDIR}
+	${INSTALL_DATA} ${WRKSRC}/forbidden.sample ${FAKE_DESTDIR}${PCONFIGDIR}
+	${CHGRP} -R ${PGRP} ${FAKE_DESTDIR}${PCONFIGDIR}
 .if !defined(NO_PTEXINFO)
 	${INSTALL_DATA} ${WRKSRC}/polipo.info ${PREFIX}/info/
 .endif


More information about the Midnightbsd-cvs mailing list