aboutsummaryrefslogtreecommitdiffstats
path: root/print/scribus/Makefile
blob: 6b71f33725a951ca9799b0ffc59b1bd5724866e4 (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
35
36
37
38
39
40
41
42
43
# Created by: ijliao
# $FreeBSD$

PORTNAME=   scribus
PORTVERSION=    1.4.6
PORTREVISION=   10
CATEGORIES= print editors
MASTER_SITES=   SF \
        http://www.scribus.net/downloads/${PORTVERSION}/

MAINTAINER= bsam@FreeBSD.org
COMMENT=    Comprehensive desktop publishing program

LICENSE=    GPLv2+

LIB_DEPENDS=    liblcms.so:graphics/lcms \
        libpng.so:graphics/png \
        libtiff.so:graphics/tiff \
        libcups.so:print/cups \
        libfreetype.so:print/freetype2 \
        libpodofo.so:graphics/podofo \
        libboost_thread.so:devel/boost-libs \
        libhunspell-1.6.so:textproc/hunspell \
        libcairo.so:graphics/cairo \
        libhyphen.so:textproc/hyphen \
        libfontconfig.so:x11-fonts/fontconfig
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}

USE_QT4=    corelib gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME=  libartlgpl2 libxml2
USES=       cmake:outsource desktop-file-utils ghostscript:run jpeg \
        pkgconfig python:2.7 shared-mime-info tar:xz
USE_LDCONFIG=   yes

CMAKE_ARGS+=    -DWANT_HUNSPELL=YES -Wno-ferror-limit

OPTIONS_DEFINE= DOCS

post-install:
    ${LN} -sf ${DATADIR}/icons/scribus.png ${STAGEDIR}${PREFIX}/share/pixmaps/

.include <bsd.port.mk>