aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-phpserialize/Makefile
blob: 58c6dff4ef61a9a07fbebfae62769792ee077695 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
CATEGORIES= devel lang www python
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 <bsd.port.mk>