1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- USE_RC_SUBR != yes

PR:             ports/136855
Approved by:    maintainer timeout (estartu@augusta.de, > 5 months)
Submitted by:   myself (pgollucci@)
This commit is contained in:
Philip M. Gollucci 2009-12-17 23:32:39 +00:00
parent 12bd9da3f1
commit d5bdacf4bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246078
4 changed files with 3 additions and 13 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= zope
PORTVERSION= 2.7.9
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www python zope
MASTER_SITES= http://www.zope.org/Products/Zope/Zope-${PORTVERSION}/:src \
http://www.zope.org/Products/Zope/Hotfix-2007-03-20/Hotfix-20070320/:hotfix
@ -19,7 +19,7 @@ COMMENT= An object-based web application platform
WRKSRC= ${WRKDIR}/Zope-${PORTVERSION}-final
USE_PYTHON= 2.4
USE_RC_SUBR= yes
USE_RC_SUBR= ${PORTNAME}
DIST_SUBDIR= zope
HOTFIX= Hotfix_20070320
@ -50,8 +50,6 @@ ALL_TARGET= build
MAKEFILE= makefile
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
RC_SUBR=${RC_SUBR}
CONFIG_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
ZOPE_USER=${ZOPE_USER} \
ZOPEINSTANCEDIR=${ZOPEINSTANCEDIR}
@ -77,12 +75,6 @@ post-install:
@${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.in \
> ${PKGMESSAGE}
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/zope.sh > ${PREFIX}/etc/rc.d/zope.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zope.sh
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/zeo.sh > ${PREFIX}/etc/rc.d/zeo.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zeo.sh
@${MKDIR} ${ZOPEBASEDIR}/Products
@${CP} ${FILESDIR}/Products_00readme-freebsd.txt ${ZOPEBASEDIR}/Products/00readme-freebsd.txt
@${CAT} ${PKGMESSAGE}

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Start or stop zope
# $FreeBSD: /tmp/pcvs/ports/www/zope/files/Attic/zope.sh,v 1.8 2009-07-15 16:56:10 dougb Exp $
# $FreeBSD$
# PROVIDE: zope
# REQUIRE: DAEMON

View File

@ -1,5 +1,3 @@
etc/rc.d/zope.sh
etc/rc.d/zeo.sh
%%ZOPEBASEDIR%%/Products/00readme-freebsd.txt
%%ZOPEBASEDIR%%/bin/README.txt
%%ZOPEBASEDIR%%/bin/analyze.py