summaryrefslogtreecommitdiff
path: root/www/zope29/Makefile
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-07-27 06:29:13 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-07-27 06:29:13 +0000
commit76f7784982b979eed5b1c9fa1f30b0ae0f79d445 (patch)
treecade1d965f52d3880fe8683ff16e32ea8615aa38 /www/zope29/Makefile
parentFix build problem with CURRENT, pointed out by naddy. (diff)
1. Use the link /usr/local/www/cgi-bin for installing the cgi scripts.
2. Maintainer changed to ports@geeksrus.net (alane@freebsd.org) due to maintainer timeouts on this port. 3. PORTREVISION bumped due to change in pkg-plist and install dirs. PR: 39687 Submitted by: ports@geeksrus.net Approved by: will
Notes
Notes: svn path=/head/; revision=63625
Diffstat (limited to 'www/zope29/Makefile')
-rw-r--r--www/zope29/Makefile23
1 files changed, 19 insertions, 4 deletions
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index 32ca0ae0537c..210b06eeabe1 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -7,13 +7,13 @@
PORTNAME= zope
PORTVERSION= 2.5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python zope
MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/
DISTNAME= Zope-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
-MAINTAINER= nbm@FreeBSD.org
+MAINTAINER= ports@geeksrus.net
USE_PYTHON= yes
PYTHON_VERSION= python2.1
@@ -29,7 +29,7 @@ do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
WEBBASEDIR?= www
SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin
SAPACHE_CONFDIR?= etc/apache
ZOPE_HTTP_PORT?= 8080
ZOPE_FTP_PORT?= 8021
@@ -48,6 +48,22 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
VERSION=${PORTVERSION} \
WEBBASEDIR=${WEBBASEDIR}
+# Force the cgi-bin dir or link to exist.
+pre-everything:
+ @if test ! -d ${CGIBINDIR}; then \
+ ${ECHO_CMD} \
+ "============================================================";\
+ ${ECHO_CMD} \
+ "===> ${CGIBINDIR} does not exist.";\
+ ${ECHO_CMD} \
+ "===> Please create it (it can be a link to an existing";\
+ ${ECHO_CMD} \
+ "===> directory) and run ${MAKE} again.";\
+ ${ECHO_CMD} \
+ "============================================================";\
+ ${FALSE}; \
+ fi
+
pre-install:
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
@@ -81,7 +97,6 @@ do-install:
@(cd ${ZOPEBASEDIR}/pcgi/Test && ${RM} *.o)
@(cd ${ZOPEBASEDIR}/pcgi && ${RM} *.o)
@#
- @${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi \
pcgi/pcgi-wrapper \