freebsd-ports/print/scribus/Makefile
2016-01-30 12:39:05 +00:00

40 lines
1.3 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= scribus
PORTVERSION= 1.4.6
CATEGORIES= print editors
MASTER_SITES= SF \
http://www.scribus.net/downloads/${PORTVERSION}/
MAINTAINER= bsam@FreeBSD.org
COMMENT= Comprehensive desktop publishing program
LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \
libpng.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 \
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-pillow
USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME= libartlgpl2 libxml2
USES= cmake:outsource desktop-file-utils execinfo ghostscript:run jpeg \
pkgconfig python 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>