head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.3;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2009.08.22.00.38.23;	author amdmi3;	state Exp;
branches;
next	1.3;

1.3
date	2009.03.16.22.17.36;	author nivit;	state Exp;
branches;
next	1.2;

1.2
date	2008.12.07.16.50.51;	author nivit;	state Exp;
branches;
next	1.1;

1.1
date	2008.10.11.11.33.27;	author nivit;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	pyjamas
# Date created:		2008-10-07
# Whom:			Nicola Vitale <nivit@@FreeBSD.org>
#
# $FreeBSD: head/www/pyjamas/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pyjamas
PORTVERSION=	0.5
PORTREVISION=	0
CATEGORIES=	www python
MASTER_SITES=	SF/${PORTNAME}/OldFiles
DISTNAME=	${PYDISTUTILS_PKGNAME}-${PORTVERSION}

MAINTAINER=	nivit@@FreeBSD.org
COMMENT=	A port of Google Web Toolkit to Python

USE_PYTHON=	yes
# install/require some libraries in sys.prefix
USE_PYTHON_PREFIX=	yes
USE_PYDISTUTILS=	easy_install

PYDISTUTILS_PKGNAME=	Pyjamas

REINPLACE_ARGS=	-i '' -e 's,../../bin,${PREFIX}/bin,'

post-patch:
	${FIND} ${WRKSRC}/examples -type f -name "build.sh" -print0 | ${XARGS} -0 ${REINPLACE_CMD}

post-install:
.if !defined(NOPORTEXAMPLES)
	${MV} ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/share/pyjamas/examples ${EXAMPLESDIR}
.endif	
	${MV} ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/share/pyjamas ${DATADIR}
	${RMDIR} ${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/share

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/img
	cd ${WRKSRC}/doc && ${CP} *.html ${DOCSDIR} && ${CP} img/* ${DOCSDIR}/img
.endif

.include <bsd.port.mk>
@


1.4
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Update to 0.5
- Add files/patch-setup.py
- Add USE_PYTHON_PREFIX=yes (the program searches for its libraries under sys.prefix)
- Switch from distutils to easy_install
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.2
log
@- Update to 0.4
@
text
@d9 2
a10 2
PORTVERSION=	0.4
#PORTREVISION=	0
d13 1
a13 1
EXTRACT_SUFX=	.tgz
d19 3
d23 1
a23 1
RM_OPTS=	-R
d25 1
a25 1
REINPLACE_ARGS=	-i '' -e 's,../../builder,${DATADIR}/builder,'
d30 6
a35 5
do-build:
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py addons builder library pyjs stubs

do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
d38 2
a39 12
	${MV} ${DATADIR}/doc ${DOCSDIR}
.else
	${RM} ${RM_OPTS} ${DATADIR}/doc
.endif

post-install:
	${CHMOD} a+x ${DATADIR}/builder/build.py ${DATADIR}/pyjs/pyjs.py
.if !defined(NOPORTEXAMPLES)
	${MV} ${DATADIR}/examples ${EXAMPLESDIR}
	${FIND} ${EXAMPLESDIR} -type f -name "*.sh" -print0 | ${XARGS} -0 ${CHMOD} a+x
.else
	${RM} ${RM_OPTS} ${DATADIR}/examples
@


1.1
log
@Pyjamas is a port of Google Web Toolkit to Python, and thus enables
the development of AJAX applications in Python.

WWW:	http://pyjs.org
@
text
@d9 1
a9 1
PORTVERSION=	0.3
d39 2
d43 1
a47 4
post-install:
	${FIND} ${EXAMPLESDIR} -type f -name "*.sh" -print0 | ${XARGS} -0 ${CHMOD} a+x
	${CHMOD} a+x ${DATADIR}/builder/build.py ${DATADIR}/pyjs/pyjs.py

@

