2008-09-07 12:43:28 +02:00
|
|
|
# New ports collection makefile for: py-phpserialize
|
|
|
|
# Date created: 2008-07-23
|
|
|
|
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phpserialize
|
|
|
|
PORTVERSION= 0.4
|
2011-02-25 08:50:41 +01:00
|
|
|
PORTREVISION= 1
|
2008-12-28 11:54:08 +01:00
|
|
|
CATEGORIES= devel lang www python
|
2008-09-07 12:43:28 +02:00
|
|
|
MASTER_SITES= http://www.hurring.com/scott/code/python/serialize/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= PHPSerialize_v${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
|
|
|
COMMENT= A python implementation of PHP\'s native serialize() and unserialize()
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/v${PORTVERSION}
|
|
|
|
|
2011-02-25 08:50:41 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2008-09-07 12:43:28 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_PKGNAME= PHPSerialize
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
|
|
|
|
> ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|