aboutsummaryrefslogtreecommitdiff
path: root/palm/py-synce-librra/Makefile
blob: f064b7f1373e46b61a569224f0ad9bb6131e43db (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
# Created by: 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

NO_STAGE=	yes
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"