head	1.18;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.18
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.05.13.20.08.55;	author rm;	state Exp;
branches;
next	1.16;

1.16
date	2011.11.04.08.17.24;	author wen;	state Exp;
branches;
next	1.15;

1.15
date	2009.08.22.00.38.23;	author amdmi3;	state Exp;
branches;
next	1.14;

1.14
date	2009.06.13.22.55.21;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2009.05.30.21.42.45;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2008.12.01.21.18.22;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2008.07.03.09.00.24;	author beech;	state Exp;
branches;
next	1.10;

1.10
date	2007.09.16.14.50.28;	author lwhsu;	state Exp;
branches;
next	1.9;

1.9
date	2006.12.13.12.56.01;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2006.12.06.12.30.50;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2006.04.26.08.11.37;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2005.12.26.08.57.13;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2005.10.21.19.15.02;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2004.06.27.14.51.44;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2004.06.21.21.27.44;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2004.05.30.02.24.26;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.10.10.19.59;	author perky;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Switch exporter over
@
text
@# New ports collection makefile for:	Webware
# Date created:		9 July 2002
# Whom:			Stefan Schwarzer <sschwarzer@@sschwarzer.net>
#
# $FreeBSD: head/www/py-webware/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	webware
DISTVERSION=	1.1
CATEGORIES=	www python
MASTER_SITES=	SF/${PORTNAME}/Webware/${PORTVERSION}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	Webware-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A versatile web application server written in Python

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mx-base>0:${PORTSDIR}/lang/py-mx-base

USE_PYTHON=	-2.7
NO_BUILD=	yes

WEBWARE_USER?=	webkit
WEBWARE_GROUP?=	${WEBWARE_USER}
WEBWARE_MASTER_DIR?=${PREFIX}/share/webware
WEBKIT_HOME_DIR?=${PREFIX}/www/webkit
INSTALL_ENV=	PKG_PREFIX=${PREFIX} \
		LOCALBASE=${LOCALBASE} \
		WEBWARE_USER=${WEBWARE_USER} \
		WEBWARE_GROUP=${WEBWARE_GROUP} \
		WEBWARE_MASTER_DIR=${WEBWARE_MASTER_DIR} \
		WEBKIT_HOME_DIR=${WEBKIT_HOME_DIR}

PLIST_SUB+=	WEBWARE_MASTER_DIR=${WEBWARE_MASTER_DIR:S,^${PREFIX}/,,}

.include <bsd.port.pre.mk>

post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/WebKit/Adapters/mod_webkit1/Makefile
	@@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/WebKit/Adapters/mod_webkit2/Makefile
	@@${RM} ${WRKSRC}/WebKit/Adapters/mod_webkit2/Makefile.bak
	@@${RM} ${WRKSRC}/WebKit/Adapters/mod_webkit1/Makefile.bak

pre-install:
	@@ ${ECHO} '---> Making webware default user and its group'
	${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL

do-install:
	@@${MKDIR} ${WEBWARE_MASTER_DIR}
	@@${CP} -R ${WRKSRC}/* ${WEBWARE_MASTER_DIR}

	@@ ${ECHO} '---> Installing start/stop script'
	${SED} -e "s|%%WEBKIT_HOME_DIR%%|${WEBKIT_HOME_DIR}|g" \
		< ${FILESDIR}/webkit.sh.tmpl \
		> ${PREFIX}/etc/rc.d/webkit.sh-dist
	${CHMOD} 755 ${PREFIX}/etc/rc.d/webkit.sh-dist && \
	${CHOWN} root:wheel ${PREFIX}/etc/rc.d/webkit.sh-dist

post-install:
	@@ ${ECHO} '---> Compiling Python files and making webkit home directory'
	${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL

.include <bsd.port.post.mk>
@


1.17
log
@- strict python version to 2.x only
- convert to using PYTHON_PKGNAMEPREFIX in dependency entry
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Update to 1.1
@
text
@d18 1
a18 1
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/mx/DateTime:${PORTSDIR}/lang/py-mx-base
d20 1
a20 1
USE_PYTHON=	yes
@


1.15
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d9 1
a9 1
DISTVERSION=	1.0.2
@


1.14
log
@- Update to 1.0.2

PR:		135416
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d11 1
a11 1
MASTER_SITES=	SF
@


1.13
log
@- Update to 1.0.1

PR:		135013
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintianer)
@
text
@d9 1
a9 1
DISTVERSION=	1.0.1
@


1.12
log
@- Update to 1.0

PR:		129292
Submitted by:	Wen Heping <wenheping@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	1.0
@


1.11
log
@- Update to 1.0.r1
- Use SF macro
- Pass maintainership to submitter

PR:		ports/125006
Submitted by:	Wen heping <wenheping@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	1.0r1
d13 1
a13 1
DISTNAME=	Webware-1.0rc1
@


1.10
log
@- Update to 0.9.4 [1]
- pkg-plist should use WEBWARE_MASTER_DIR instead of DATADIR,
  since this port doesn't respect DATADIR and the stuff insatlled in the
  WEBWARE_MASTER_DIR should not be affected by NOPORTDATA.

PR:		ports/115257 [1]
Submitted by:	"Choe, Cheng-Dae" <whitekid AT gmail.com> [1]
@
text
@d9 1
a9 1
PORTVERSION=	0.9.4
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	webware
d13 1
a13 1
DISTNAME=	Webware-${PORTVERSION}
@


1.9
log
@Reset whitekid@@gmail.com after timeouts and no response to email.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	0.9.2
d35 2
d40 1
a40 1
	@@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/WebKit/Adapters/mod_webkit/Makefile
d43 1
a43 1
	@@${RM} ${WRKSRC}/WebKit/Adapters/mod_webkit/Makefile.bak
@


1.8
log
@- Update to 0.9.2

PR:		ports/105671
Submitted by:	miwi
Approved by:	maintainer timeout
@
text
@d16 1
a16 1
MAINTAINER=	whitekid@@gmail.com
@


1.7
log
@- Update to 0.9.1

PR:		ports/96297
Submitted by:	"Choe, Cheng-Dae" <whitekid@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.1
@


1.6
log
@update www/py-webware to 0.9

	- update www/py-webware to 0.9 (many new features and improvements)
	- apache module(mod_webkit) separated to www/mod_webkit ports
	- assume maintainership

PR:		ports/90836
Submitted by:	"Choe, Cheng-Dae" <whitekid@@gmail.com>
Approved by:	Stefan Schwarzer <sschwarzer@@sschwarzer.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.9
a22 3
USE_REINPLACE=	yes

USE_REINPLACE=	yes
@


1.5
log
@- Build and install apache module
- Refresh plist

PR:		ports/85913
Submitted by:	"Choe, Cheng-Dae" <whitekid@@gmail.com>
Approved by:	maintainer feedback timeout (1 month)
@
text
@d9 1
a9 2
PORTVERSION=	0.8.1
PORTREVISION=	1
d16 1
a16 1
MAINTAINER=	sschwarzer@@sschwarzer.net
a18 1
BUILD_DEPENDS=	${PYTHON_CMD}:${PORTSDIR}/lang/python
a21 1
USE_APACHE=	yes
d25 2
d29 1
a29 1
WEBWARE_MASTER_DIR?=${DATADIR}
a39 12
.if exists(${LOCALBASE}/include/apache2/httpd.h)
WITH_APACHE2=	yes
.endif

.if defined(WITH_APACHE2)
PLIST_SUB+=	APACHE1="@@comment " APACHE2=""
MOD_WEBKIT=	mod_webkit2
.else
PLIST_SUB+=	APACHE1="" APACHE2="@@comment "
MOD_WEBKIT=	mod_webkit
.endif

d41 4
a44 4
	@@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${LOCALBASE}/sbin/apxs|' ${WRKSRC}/WebKit/Adapters/mod_webkit/Makefile
	@@${RM} -f ${WRKSRC}/WebKit/Adapters/mod_webkit/Makefile.bak
	@@${REINPLACE_CMD} -e 's|/usr/local/apache2/bin/apxs|${LOCALBASE}/sbin/apxs|' ${WRKSRC}/WebKit/Adapters/mod_webkit2/Makefile
	@@${RM} -f ${WRKSRC}/WebKit/Adapters/mod_webkit2/Makefile.bak
d51 2
a52 7
	@@ ${ECHO} '---> Installing in Webware master dir'
	# ensure the target directory isn't there
	${RM} -rf ${WEBWARE_MASTER_DIR}
	${CP} -R ${WRKSRC} ${WEBWARE_MASTER_DIR}

	@@ ${ECHO} '---> Deleting native files (not used by this port)'
	${RM} -rf ${WEBWARE_MASTER_DIR}/WebKit/Native
a64 3
	@@ ${ECHO} '---> Compiling apache adapter'
	@@ cd ${WRKSRC}/WebKit/Adapters/${MOD_WEBKIT} ; make install clean

@


1.4
log
@- Use UID 108 and unmark IGNOREd

PR:		ports/68400
Submitted by:	Stefan Schwarzer <sschwarzer@@sschwarzer.net> (maintainer)
@
text
@d10 1
d13 1
a13 1
MASTER_SITE_SUBDIR= webware
d24 1
d26 1
d30 1
a30 1
WEBWARE_MASTER_DIR?=${PREFIX}/share/webware
d39 20
d83 4
a86 1
.include <bsd.port.mk>
@


1.3
log
@Set an expiry date of 2004-08-20 for these BROKEN/IGNORE/FORBIDDEN
ports.  They will be removed on or after that date if they are still
broken and no fix has been submitted to GNATS.
@
text
@a18 4
IGNORE=		uses uid registered to quagga.
EXPIRATION_DATE=2004-08-20
DEPRECATED=	${IGNORE}

@


1.2
log
@IGNORE: This port stomps on uid 101, which is registered to the quagga port.
@
text
@d20 2
@


1.1
log
@Add port for py-webware 0.8.1,
A suite of software components for developing object-oriented,
web-based applications.

PR:		42295
Submitted by:	Stefan Schwarzer <sschwarzer@@sschwarzer.net>
Reminded by:	linimon (thanks!)
@
text
@d19 2
@

