aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-poppler-qt4/Makefile
blob: d93580f1298d5bcacb05c752042ba17483130247 (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
# $FreeBSD$

PORTNAME=   poppler-qt4
PORTVERSION=    0.16.2
CATEGORIES= graphics python
MASTER_SITES=   GOOGLE_CODE
PROJECTHOST=    python-poppler-qt4
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   python-${PORTNAME}-${PORTVERSION}

MAINTAINER= martin.dieringer@gmx.de
COMMENT=    Python bindings for poppler-qt4

BUILD_DEPENDS=  ${LOCALBASE}/bin/sip:${PORTSDIR}/devel/py-sip \
        ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
        ${PYTHON_SITELIBDIR}/PyQt4/QtXml.so:${PORTSDIR}/textproc/py-qt4-xml
LIB_DEPENDS=    poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_EGGINFO=    python_poppler_qt4-${PORTVERSION}-py${PYTHON_VER}.egg-info

PLIST_FILES=    ${PYTHON_SITELIBDIR:S;${PREFIX}/;;}/popplerqt4.so

.include <bsd.port.mk>