aboutsummaryrefslogtreecommitdiffstats
path: root/palm/py-synce-librra/Makefile
blob: b784877bb466e54aade6a8037dde129483b1afb7 (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
# New ports collection makefile for:   py-synce-librra
# Date created:                19 Jun 2008
# Whom:                        Ilya Bakulin <webmaster@kibab.com>
#
# $FreeBSD$

CATEGORIES= palm python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}synce-

MAINTAINER= webmaster@kibab.com
COMMENT=    Python bindings for the SynCE RRA library

LIB_DEPENDS=    rra.0:${PORTSDIR}/palm/synce-librra
BUILD_DEPENDS=  pyrexc:${PORTSDIR}/devel/pyrex

MASTERDIR=  ${.CURDIR}/../synce-librra

USE_PYTHON= yes

PLIST=      ${.CURDIR}/pkg-plist

RRA_SLAVE=  pythonb

pre-patch:
    @${REINPLACE_CMD} -e 's|$$(top_builddir)/lib/librra.la|${LOCALBASE}/lib/librra.la|g' \
        ${WRKSRC}/python/Makefile.in

do-build:
    @(cd ${WRKSRC}/python && ${MAKE})

do-install:
    @(cd ${WRKSRC}/python && ${MAKE} install)

.include "${MASTERDIR}/Makefile"