aboutsummaryrefslogtreecommitdiff
path: root/www/znavigator/Makefile
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-18 20:02:54 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-18 20:02:54 +0000
commit7c71836174138108f6e5513089fe783efd184e0e (patch)
treeb8d86b832a6adbc61d315aaf1bce507b966fa2d3 /www/znavigator/Makefile
parentce0c25e44c242ac7d8543ffd396db02dfa493314 (diff)
downloadports-7c71836174138108f6e5513089fe783efd184e0e.tar.gz
ports-7c71836174138108f6e5513089fe783efd184e0e.zip
Notes
Diffstat (limited to 'www/znavigator/Makefile')
-rw-r--r--www/znavigator/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/www/znavigator/Makefile b/www/znavigator/Makefile
new file mode 100644
index 000000000000..b9f9f5f27494
--- /dev/null
+++ b/www/znavigator/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: ZNavigator
+# Date created: 18 Sep 2000
+# Whom: Neil Blakey-Milner
+#
+# $FreeBSD$
+#
+
+PORTNAME= znavigator
+PORTVERSION= 2.00
+CATEGORIES= www
+MASTER_SITES= http://www.zope.org/Members/jonas/ZNavigator/
+DISTNAME= ${ZOPEPRODUCTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nbm@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
+
+NO_BUILD= YES
+
+# You can change this in the environment if you like.
+SZOPEBASEDIR?= www/Zope
+
+# Don't change these
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+ZOPEPRODUCTNAME= ZNavigator
+ZOPEPRODUCTDIR= lib/python/Products
+
+ZOPEPRODUCTSRC= ${WRKDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
+
+do-install:
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ @${CP} -Rf ${ZOPEPRODUCTSRC}/* \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ @${CP} ${ZOPEPRODUCTSRC}/demo/navigator_demo.zexp \
+ ${ZOPEBASEDIR}/import
+ @perl -pe 's#%%PREFIX%%#${PREFIX}#' ${FILESDIR}/MESSAGE > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>