aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sigil/Makefile
blob: 592b2c159dceb4fc3b2380790fe4b8534c45d26e (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
# Created by: Jonathan Chen <jonc@chen.org.nz>
# $FreeBSD$

PORTNAME=   sigil
PORTVERSION=    0.6.0
PORTREVISION=   4
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=   Sigil-${PORTVERSION}-Code

MAINTAINER= jonc@chen.org.nz
COMMENT=    WYSIWYG ePub editor

LICENSE=    GPLv3

LIB_DEPENDS=    libboost_thread.so:${PORTSDIR}/devel/boost-libs \
        libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \
        libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
        libpcre.so:${PORTSDIR}/devel/pcre

USES=       cmake desktop-file-utils pkgconfig zip
NO_WRKSUBDIR=   yes
USE_QT4=    qmake gui svg webkit xml moc uic rcc imageformats linguist

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>