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
|
2003-08-08 13:03:39 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2003-01-15 20:57:58 +01:00
|
|
|
CATEGORIES= print editors
|
2003-05-18 04:05:00 +02:00
|
|
|
MASTER_SITES= http://web2.altmuehlnet.de/fschmid/ \
|
|
|
|
http://scribus.planetmirror.com/
|
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
|
|
|
|
2003-08-31 03:30:55 +02:00
|
|
|
.if defined(WITH_GHOSTSCRIPT_AFP1) && ${WITH_GHOSTSCRIPT_AFP1} == yes
|
|
|
|
GSPORT?= print/ghostscript-afpl
|
|
|
|
.else
|
|
|
|
GSPORT?= print/ghostscript-gnu
|
|
|
|
.endif
|
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
|
2003-08-31 03:30:55 +02:00
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
2002-03-14 20:01:11 +01:00
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
USE_QT_VER= 3
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-04-17 11:28:39 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-08-08 14:12:47 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-01-15 20:57:58 +01:00
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/scribus/libs \
|
|
|
|
%%PREFIX%%/lib/scribus/plugins
|
2002-10-31 13:12:00 +01:00
|
|
|
|
2003-06-22 21:17:31 +02:00
|
|
|
QTCFGLIBS+= -lm
|
|
|
|
|
2003-08-31 03:30:55 +02:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO} ""
|
|
|
|
.endif
|
|
|
|
|
2003-01-15 20:57:58 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
2002-08-08 06:22:40 +02:00
|
|
|
|
2002-03-14 20:01:11 +01:00
|
|
|
.include <bsd.port.mk>
|