blob: aad0f290046873685563e56ee44261f21882f901 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: py-turbojson
# Date created: 2006-12-02
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= TurboJson
PORTVERSION= 1.0
CATEGORIES= devel python
MASTER_SITES= http://files.turbogears.org/eggs/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYTURBOJSON_EGG}
EXTRACT_SUFX=
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python template plugin for TurboGears that supports json
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYRULEDISPATCH_EGG}:${PORTSDIR}/devel/py-ruledispatch \
${PYTHON_SITELIBDIR}/${PYSIMPLEJSON_EGG}:${PORTSDIR}/devel/py-simplejson \
${PYTHON_SITELIBDIR}/${PYSQLOBJECT_EGG}/sqlobject/__init__.py:${PORTSDIR}/databases/py-sqlobject
NO_BUILD= yes
USE_PYTHON= 2.4
PLIST_SUB+= PYTURBOJSON_EGG=${PYTURBOJSON_EGG}
SUB_FILES+= pkg-deinstall pkg-install
SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
EGG="${PORTNAME}==${PORTVERSION}"
EASY_INSTALL= ${LOCALBASE}/bin/easy_install
EASY_INSTALL_ARGS= -N -b ${WRKSRC} -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin
PYTURBOJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
do-extract:
${MKDIR} ${WRKSRC}
do-install:
${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES}
.include <bsd.port.pre.mk>
PYRULEDISPATCH_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-ruledispatch/Makefile -V PYRULEDISPATCH_EGG
PYSIMPLEJSON_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-simplejson/Makefile -V PYSIMPLEJSON_EGG
PYSQLOBJECT_EGG!= ${MAKE} -f ${PORTSDIR}/databases/py-sqlobject/Makefile -V PYSQLOBJECT_EGG
.include <bsd.port.post.mk>
|