aboutsummaryrefslogtreecommitdiffstats
path: root/palm/py-synce-librapi2/Makefile
blob: b3c95b91767444cbacf0348f33c6393fc033a093 (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-librapi2
# Date created:                19 June 2008
# Whom:                        Ilya Bakulin <webmaster@kibab.com>
#
# $FreeBSD$

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

MAINTAINER= webmaster@kibab.com
COMMENT=    Python bindings for libRAPI2

LIB_DEPENDS=    rapi.2:${PORTSDIR}/palm/synce-librapi2
BUILD_DEPENDS=  pyrexc:${PORTSDIR}/devel/pyrex

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

USE_PYTHON= yes

PLIST=      ${.CURDIR}/pkg-plist

RAPI_SLAVE= pythonb

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

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

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

.include "${MASTERDIR}/Makefile"