2002-03-14 20:01:11 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: scribus
|
|
|
|
# Date created: Mar 15, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
2007-08-26 10:22:55 +02:00
|
|
|
# $Carpetsmoker: ports/print/scribus/Makefile,v 1.1 2007/07/22 00:53:09 carpetsmoker Exp $
|
2002-03-14 20:01:11 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
PORTNAME= scribus
|
2007-08-26 10:22:55 +02:00
|
|
|
PORTVERSION= 1.3.3.8
|
2003-01-15 20:57:58 +01:00
|
|
|
CATEGORIES= print editors
|
2005-02-25 15:32:28 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2006-05-01 00:31:29 +02:00
|
|
|
http://www.scribus.net/downloads/${PORTVERSION}/
|
2005-02-25 15:32:28 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-03-14 20:01:11 +01:00
|
|
|
|
2007-08-26 10:22:55 +02:00
|
|
|
MAINTAINER= carpetsmoker@xs4all.nl
|
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
|
2006-05-01 00:31:29 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
|
|
|
${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging
|
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_GMAKE= yes
|
2007-12-16 20:23:26 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-12-12 16:37:01 +01:00
|
|
|
CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
2006-11-05 21:43:56 +01:00
|
|
|
USE_LDCONFIG= yes
|
2002-10-31 13:12:00 +01:00
|
|
|
|
2006-05-01 00:31:29 +02:00
|
|
|
PLIST_SUB+= SCRIBUS_VERSION=${PORTVERSION}
|
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-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-12-27 16:04:09 +01:00
|
|
|
s|-O2 ||g ; \
|
|
|
|
s|="-lc"|=""|g ; \
|
|
|
|
s|python2\.3|python${PYTHON_VERSION:S/^python//}|g ; \
|
|
|
|
s|Python 2\.3|Python ${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
|
2007-07-02 20:45:55 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
|
|
${WRKSRC}/configure
|
2002-08-08 06:22:40 +02:00
|
|
|
|
2005-01-12 20:39:54 +01:00
|
|
|
.include <bsd.port.post.mk>
|