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

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

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

LIB_DEPENDS=    boost_thread:${PORTSDIR}/devel/boost-libs \
        xerces-c:${PORTSDIR}/textproc/xerces-c3 \
        hunspell-1.3:${PORTSDIR}/textproc/hunspell \
        pcre:${PORTSDIR}/devel/pcre

LICENSE=    GPLv3

USE_ZIP=    yes
USES=       cmake pkgconfig
USE_DOS2UNIX=   CMakeLists.txt DirEnumerator.cpp ZipFile_stl.cpp ZipPlatform_lnx.cpp
NO_WRKSUBDIR=   yes
USE_QT4=    qmake gui svg webkit xml moc uic rcc imageformats linguist
USE_GNOME=  desktopfileutils

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

post-install:
    @-update-desktop-database > /dev/null

.include <bsd.port.mk>