2000-09-18 16:02:54 -04:00
|
|
|
# New ports collection makefile for: ZNavigator
|
|
|
|
# Date created: 18 Sep 2000
|
|
|
|
# Whom: Neil Blakey-Milner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= znavigator
|
|
|
|
PORTVERSION= 2.00
|
2001-08-16 07:21:01 -04:00
|
|
|
CATEGORIES= www zope
|
2000-09-18 16:02:54 -04:00
|
|
|
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}
|
|
|
|
|
2000-11-08 19:18:10 -05:00
|
|
|
PKGMESSAGE= ${WRKDIR}/.pkg-message
|
|
|
|
|
2000-09-18 16:02:54 -04:00
|
|
|
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>
|