91ea5c3247
- Drop const optimization as v2 API moved to nuspell Changes: https://github.com/hunspell/hunspell/releases/tag/v1.7.0
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scribus
|
|
PORTVERSION= 1.4.7
|
|
PORTREVISION= 3
|
|
CATEGORIES= print editors
|
|
MASTER_SITES= SF \
|
|
http://www.scribus.net/downloads/${PORTVERSION}/
|
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
|
COMMENT= Comprehensive desktop publishing program
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
BROKEN_armv6= fails to build: scribus.cpp:6711:36: assigning to 'double *' from incompatible type 'qreal *'
|
|
BROKEN_armv7= fails to build: scribus.cpp:6711:36: assigning to 'double *' from incompatible type 'qreal *'
|
|
|
|
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.7.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}
|
|
|
|
USES= cmake desktop-file-utils ghostscript:run jpeg \
|
|
pkgconfig python:2.7 qt:4 shared-mime-info tar:xz
|
|
USE_QT= corelib gui linguist_build moc_build qmake_build rcc_build uic_build xml network
|
|
USE_GNOME= libartlgpl2 libxml2
|
|
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>
|