1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/palm/py-synce-librra/Makefile
Alexander Logvinov cdf71e9235 - Fix build with custom PREFIX
PR:		ports/139330
Submitted by:	myself
Approved by:	maintainer
2009-10-12 03:18:30 +00:00

35 lines
801 B
Makefile

# 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"