2002-03-14 20:01:11 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: scribus
|
|
|
|
# Date created: Mar 15, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
PORTNAME= scribus
|
2005-09-16 13:04:14 +02:00
|
|
|
PORTVERSION= 1.2.3
|
2003-01-15 20:57:58 +01:00
|
|
|
CATEGORIES= print editors
|
2005-02-25 15:32:28 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://www.scribus.org.uk/downloads/${PORTVERSION}/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-03-14 20:01:11 +01:00
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A comprehensive desktop publishing program
|
2002-03-14 20:01:11 +01:00
|
|
|
|
2004-08-30 10:29:34 +02:00
|
|
|
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
|
2004-04-28 22:36:45 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
cups.2:${PORTSDIR}/print/cups-base \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
2003-08-31 03:30:55 +02:00
|
|
|
|
2004-06-07 03:03:53 +02:00
|
|
|
USE_BZIP2= yes
|
2003-01-15 20:57:58 +01:00
|
|
|
USE_QT_VER= 3
|
2005-01-12 20:39:54 +01:00
|
|
|
USE_GNOME= gnometarget libartlgpl2 libxml2
|
2004-08-30 10:29:34 +02:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
|
|
USE_PYTHON= yes
|
2003-01-15 20:57:58 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-12-12 16:37:01 +01:00
|
|
|
CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
2002-10-31 13:12:00 +01:00
|
|
|
|
2005-01-12 20:39:54 +01:00
|
|
|
MAN1= scribus.1
|
|
|
|
MANLANG= "" pl
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500035
|
|
|
|
CXXFLAGS+= -fpermissive
|
|
|
|
.endif
|
|
|
|
|
2003-09-27 03:01:08 +02:00
|
|
|
pre-everything::
|
2003-08-31 03:30:55 +02:00
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
2003-09-27 03:01:08 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO_MSG} ""
|
2003-08-31 03:30:55 +02:00
|
|
|
.endif
|
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
post-patch:
|
2004-04-28 22:36:45 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
|
2005-07-16 23:30:30 +02:00
|
|
|
s|-O2 ||g ; \
|
|
|
|
s|="-lc"|=""|g ; \
|
2004-12-11 19:14:18 +01:00
|
|
|
s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \
|
|
|
|
s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
|
2005-07-16 23:30:30 +02:00
|
|
|
@${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \
|
|
|
|
${WRKSRC}/scribus/icons/Makefile.in
|
2002-08-08 06:22:40 +02:00
|
|
|
|
2005-01-12 20:39:54 +01:00
|
|
|
.include <bsd.port.post.mk>
|