summaryrefslogtreecommitdiff
path: root/www/squishdot
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-07 13:30:21 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-07 13:30:21 +0000
commit3d01e462f62e56b554d770ae43a3e22a4540267a (patch)
tree3f92e033d46d288b46ee85253ac472d5b32b3fd8 /www/squishdot
parentAdd --enable-lzo, thanks rse@ (diff)
Standardise the ZOPEBASEDIR and SZOPEBASEDIR variable usage for the
zope ports. (ports.zope.mk, anyone?)
Diffstat (limited to 'www/squishdot')
-rw-r--r--www/squishdot/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/www/squishdot/Makefile b/www/squishdot/Makefile
index 33cf1a0ccb45..f3c212420d94 100644
--- a/www/squishdot/Makefile
+++ b/www/squishdot/Makefile
@@ -14,21 +14,25 @@ DISTNAME= Squishdot-${PORTVERSION:S/./-/g}
MAINTAINER= nbm@FreeBSD.org
-RUN_DEPENDS= ${ZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
NO_BUILD= YES
-ZOPEBASEDIR?= www/Zope
+# You can change this in the environment if you like.
+SZOPEBASEDIR?= www/Zope
+
+# Don't change these
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
ZOPEPRODUCTNAME= Squishdot
ZOPEPRODUCTDIR= lib/python/Products
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR}
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
do-install:
- @${MKDIR} ${PREFIX}/${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
@${CP} -Rf ${WRKSRC}/* \
- ${PREFIX}/${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
.include <bsd.port.mk>