27470e1676
* print/ghostscript{7,8,9,9-agpl}-base Installs Ghostscript binary, libgs, and related files. These ports do not depend on X11 libraries (i.e. x11* devices are not available). USES=ghostscript will set dependency on one of them depending on GHOSTSCRIPT_DEFAULT. The default device is set to "display" or "bbox". * print/ghostscript{7,8,9,9-agpl}-x11 Installs a shared library which provides X11 support to the installed Ghostscript binaries. x11* devices will be enabled when the library is available. This depends on *-base (RUN_DEPENDS). USES=ghostscript:x11 will set dependency on one of them. - Fix integer overflow reported as CVE-2015-3228. - Update Uses/ghostscript.mk: * Add x11 keyword. nox11 keyword is now obsolete. * Use packagename in *_DEPENDS line to prevent relationship between -base and -x11 packages from being broken. - Fix x11/nox11 keyword and bump PORTREVISION in ports using USES=ghostscript to update dependency of pre-compiled packages.
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scribus
|
|
PORTVERSION= 1.4.5
|
|
PORTREVISION= 1
|
|
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 \
|
|
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-pillow
|
|
|
|
USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network
|
|
USE_GNOME= libartlgpl2 libxml2
|
|
USES= cmake desktop-file-utils ghostscript:run jpeg pkgconfig \
|
|
python shared-mime-info tar:bz2
|
|
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>
|