# New ports collection makefile for: py-phpserialize # Date created: 2008-07-23 # Whom: Jui-Nan Lin # # $FreeBSD$ # PORTNAME= phpserialize PORTVERSION= 0.4 CATEGORIES= devel lang www 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} USE_PYTHON= 2.4+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PHPSerialize post-extract: ${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \ > ${WRKSRC}/setup.py .include