aboutsummaryrefslogblamecommitdiff
path: root/archivers/py-librtfcomp/Makefile
blob: 4a6c64ba3a483fb9bc491b6fe6840dc2c9cdf5d3 (plain) (tree)
1
2
3
4
5
6
7
                                                     
           



                                       
                                 






                                                                 
                   





                                    






                                                                                                      



                                                 
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

CATEGORIES=	archivers python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Python bindings for the LZRTF compression library

LIB_DEPENDS=	rtfcomp.0:${PORTSDIR}/archivers/librtfcomp
BUILD_DEPENDS=	pyrexc:${PORTSDIR}/devel/pyrex

MASTERDIR=	${.CURDIR}/../librtfcomp

NO_STAGE=	yes
USE_PYTHON=	yes

PLIST=		${.CURDIR}/pkg-plist

RTFCOMP_SLAVE=	pythonb

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

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

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

.include "${MASTERDIR}/Makefile"