aboutsummaryrefslogtreecommitdiff
path: root/print/scribus/Makefile
blob: c18edc80d21e2684940576aa3a75d63cdcd9ca10 (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
44
45
46
47
48
# Created by: ijliao
# $FreeBSD$

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

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

LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
		liblcms.so:${PORTSDIR}/graphics/lcms \
		libpng15.so:${PORTSDIR}/graphics/png \
		libtiff.so:${PORTSDIR}/graphics/tiff \
		libcups.so:${PORTSDIR}/print/cups-client \
		libfreetype.so:${PORTSDIR}/print/freetype2 \
		libpodofo.so:${PORTSDIR}/graphics/podofo \
		libboost_thread.so:${PORTSDIR}/devel/boost-libs \
		libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
		libcairo.so:${PORTSDIR}/graphics/cairo \
		libhyphen.so:${PORTSDIR}/textproc/hyphen \
		libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
		${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging

USE_XZ=		yes
USE_QT4=	gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME=	libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN=	yes
USE_PYTHON=	yes
USES=		cmake desktop-file-utils pkgconfig shared-mime-info
USE_LDCONFIG=	yes

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

MAN1=		scribus.1
MANLANG=	"" pl de
MANCOMPRESSED=	no

NO_STAGE=	yes
post-install:
	${LN} ${DATADIR}/icons/scribus.png ${PREFIX}/share/pixmaps/

.include <bsd.port.mk>