head	1.11;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3;
locks; strict;
comment	@# @;


1.11
date	2012.11.17.06.03.01;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.06.18.16.31.36;	author sunpoet;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.16.04.55.42;	author sunpoet;	state Exp;
branches;
next	1.8;

1.8
date	2011.06.14.19.39.05;	author sunpoet;	state Exp;
branches;
next	1.7;

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

1.6
date	2011.02.25.04.40.30;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.12.18.02.24.03;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2007.06.16.09.58.46;	author dryice;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.23.03.51.04;	author clsung;	state Exp;
branches;
next	1.2;

1.2
date	2006.11.17.09.21.53;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2006.11.15.14.14.54;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-qp
# Date created:		14 Nov 2006
# Whom:	      		Dryice Liu <dryice@@dryice.name>
#
# $FreeBSD: head/www/py-qp/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	qp
PORTVERSION=	2.2
CATEGORIES=	www python
MASTER_SITES=	http://www.mems-exchange.org/software/qp/ \
		LOCAL/sunpoet
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@@FreeBSD.org
COMMENT=	A python web framework to use qpy and durus together

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
		${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
		${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy

OPTIONS_DEFINE=	DOCS EXAMPLES

MAKE_ENV=	USE_DISTUTILS=yes
USE_PYTHON=	2.5-2.7
USE_PYDISTUTILS=	yes

SUB_FILES=	pkg-message

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR}/
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.10
log
@- Do not silene installation message
- Convert to new options framework
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@- Add my LOCAL as MASTER_SITES
@
text
@d23 2
d31 2
d34 3
a36 4
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/
	@@cd ${WRKSRC} && \
		${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
d38 2
a39 2
.if !defined(NOPORTEXAMPLES)
	@@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR}
@


1.8
log
@- Unbreak and update to 2.2
- Fix build when devel/py-setuptools installed
- Use bsd.port.mk
- Take maintainership

Changes:	http://www.mems-exchange.org/software/qp/qp-2.2.tar.gz/qp-2.2/CHANGES.txt
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.mems-exchange.org/software/qp/
@


1.7
log
@- Mark BROKEN: does not build

Reported by:	pointyhat
@
text
@d9 1
a9 2
PORTVERSION=	2.0
PORTREVISION=	1
d11 1
a11 3
MASTER_SITES=	http://www.mems-exchange.org/software/qp/ \
		${MASTER_SITE_LOCAL} \
		http://dryice.name/computer/FreeBSD/distfiles/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d17 4
a20 4
BUILD_DEPENDS+=	qpcheck.py:${PORTSDIR}/www/py-qpy
BUILD_DEPENDS+=	durus:${PORTSDIR}/devel/py-durus
BUILD_DEPENDS+=	pythoni:${PORTSDIR}/devel/py-repl
RUN_DEPENDS+=	${BUILD_DEPENDS}
d22 2
a23 3
BROKEN=		does not build

USE_PYTHON=	2.5+
a24 2
SUB_FILES+=	pkg-message
SUB_LIST+=	PYTHON_VERSION=${PYTHON_VERSION}
d26 1
a26 1
.include <bsd.port.pre.mk>
a28 5
	@@ PYTHONPATH=${PREFIX}/lib/${PYTHON_VERSION}/site-packages \
	  ${PYTHON_CMD} -c "import qp.fill"; \
     	  cd ${WRKSRC}; \
	  ${PYTHON_CMD} setup.py install_demo_sites ${EXAMPLESDIR}

d30 6
a35 4
	@@ ${MKDIR} ${DOCSDIR}
.for docfile in CHANGES.txt LICENSE.txt README.txt
	@@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
a36 1

d39 1
a39 1
.include <bsd.port.post.mk>
@


1.6
log
@- Move over to py25
- while here drop md5 support
- Small cleanups
@
text
@d25 2
@


1.5
log
@Reassign ports maintained by dryice@@ for now due to other commitments.

Hat:	portmgr
@
text
@d10 1
d25 1
a25 1
USE_PYTHON=	2.4+
@


1.4
log
@- update to 2.0
- add MASTER_SITE_LOCAL
- update my mail address
@
text
@d16 1
a16 1
MAINTAINER=	dryice@@FreeBSD.org
@


1.3
log
@- update to 1.9.1

PR:		ports/105763
Submitted by:	maintainer (Dryice Liu)
@
text
@d9 1
a9 1
PORTVERSION=	1.9.1
d12 1
d16 1
a16 1
MAINTAINER=	dryice@@dryice.name
@


1.2
log
@- Update to 1.9

PR:             ports/105628
Submitted by:   Dryice Liu <dryice@@dryice.name> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.9
@


1.1
log
@This is QP, a package for defining and running multiple web
applications based on Durus for persistence, standard persistent
Session and User classes, easy interactive database sessions, qpy for
assembling html, and Quixote2-style forms and path traversal. QP makes
it easier than ever to use these tools together.

WWW: http://www.mems-exchange.org/software/qp/

PR:		ports/105503
Submitted by:	Dryice Liu <dryice at dryice.name>
@
text
@d9 1
a9 1
PORTVERSION=	1.8
@

