aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-pullparser/Makefile
blob: 65d072d3856e5ad932dd650745233bf51c71fd0f (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
30
31
32
33
34
35
# ex:ts=8
# Ports collection makefile for:    py-pullparser
# Date created:         Apr 29, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   pullparser
PORTVERSION=    0.1.0
CATEGORIES= www python
MASTER_SITES=   http://wwwsearch.sourceforge.net/pullparser/src/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple "pull API" for HTML parsing

BUILD_DEPENDS=  ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_NOEGGINFO=  yes # XXX convert easy_install support to bsd.python.mk's
EASY_INSTALL_CMD?=  easy_install-${PYTHON_VER}

PYDISTUTILS_BUILD_TARGET=   bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS=    -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PULLPARSER_EGG}

PULLPARSER_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg

PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
        PULLPARSER_EGG=${PULLPARSER_EGG} \
        PULLPARSER_EGG_VER="${PORTNAME}==${PORTVERSION}"

.include <bsd.port.mk>