mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Create the cgi-bin dir for Zope's cgi scripts if it doesn't exist, rather
than just bomb.
This commit is contained in:
parent
9168fa0455
commit
df279c0135
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69341
6 changed files with 78 additions and 90 deletions
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
|
@ -18,10 +18,12 @@ MAINTAINER= alane@FreeBSD.org
|
|||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.1
|
||||
|
||||
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
# Note: the notes that follow reflect the decisions of prior maintainers
|
||||
# of this port. IOW, don't blame me if you don't like the way it's done.
|
||||
# Exceptions to this are marked as such.
|
||||
|
||||
# Build has to be done in the final location after installing the sources
|
||||
# there. It was a major action to fix all paths otherwise.
|
||||
do-build: # empty, but needs to be there for the python dependency.
|
||||
|
@ -49,20 +51,16 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
|
|||
WEBBASEDIR=${WEBBASEDIR}
|
||||
|
||||
# Force the cgi-bin dir or link to exist.
|
||||
# If we have to create it, call it -dist to emphasize that the port
|
||||
# set it up. <alane>
|
||||
|
||||
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
|
||||
${ECHO_CMD} "The directory for Zope's CGI scripts does"\
|
||||
"not exist, so I will create it.";\
|
||||
${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
|
||||
${ECHO_CMD} ;\
|
||||
${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
|
||||
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
||||
|
|
Loading…
Add table
Reference in a new issue