1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/print/scribus-devel/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

75 lines
2.3 KiB
Makefile

# Created by: lbartoletti <coer@tuxfamily.org>
# $FreeBSD$
PORTNAME= scribus
PORTVERSION= 1.5.0
PORTREVISION= 8
CATEGORIES= print editors
MASTER_SITES= http://download.tuxfamily.org/bartcoding/FreeBSD/ \
${MASTER_SITE_LOCAL}
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_REV}
PKGNAMESUFFIX= -devel
MAINTAINER= coder@tuxfamily.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-base \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libpodofo.so:${PORTSDIR}/graphics/podofo \
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libaspell.so:${PORTSDIR}/textproc/aspell \
libcairo.so:${PORTSDIR}/graphics/cairo \
libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
libpoppler.so:${PORTSDIR}/graphics/poppler \
libosg.so:${PORTSDIR}/graphics/osg
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging \
update-mime-database:${PORTSDIR}/misc/shared-mime-info
CONFLICTS= scribus-1.[0-4]*
USE_BZIP2= yes
USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME= desktopfileutils libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
USES= cmake pkgconfig
USE_LDCONFIG= yes
MAN1= scribus.1
MANLANG= "" de pl
MANCOMPRESSED= no
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
SVN_REV= 17820 # svn tip at epoch 2009120801
SVNROOT_URI= svn://scribus.net/trunk/Scribus
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
${LN} ${DATADIR}/icons/scribus.png ${PREFIX}/share/pixmaps/
-update-desktop-database
-update-mime-database ${PREFIX}/share/mime
#
# To roll snapshot: as bart (or other maintainer) : make BOOTSTRAP=defined fetch
#
.if defined(BOOTSTRAP)
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} ${SVNROOT_URI} ${WRKSRC}
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
.if ${USER} == bart
${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2
scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \
freefall.freebsd.org:public_distfiles/
.endif
.endif # defined(BOOTSTRAP)
.include <bsd.port.post.mk>