diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:30:55 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:30:55 +0000 |
commit | 629e11066875a4a76948fd4f64236fab13d2601d (patch) | |
tree | 63ccddde7886e7b0ba53b8eae36e83fb5b9b683b /print/scribus | |
parent | f5b1e3399be52eb7d303f781d679dc0e05d2d4c2 (diff) | |
download | ports-629e11066875a4a76948fd4f64236fab13d2601d.tar.gz ports-629e11066875a4a76948fd4f64236fab13d2601d.zip |
Notes
Diffstat (limited to 'print/scribus')
-rw-r--r-- | print/scribus/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/print/scribus/Makefile b/print/scribus/Makefile index f3baa21f9070..179829416d02 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -15,8 +15,14 @@ MASTER_SITES= http://web2.altmuehlnet.de/fschmid/ \ MAINTAINER= ports@FreeBSD.org COMMENT= A comprehensive desktop publishing program +.if defined(WITH_GHOSTSCRIPT_AFP1) && ${WITH_GHOSTSCRIPT_AFP1} == yes +GSPORT?= print/ghostscript-afpl +.else +GSPORT?= print/ghostscript-gnu +.endif + LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base -RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu +RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} USE_QT_VER= 3 USE_REINPLACE= yes @@ -29,6 +35,14 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/scribus/libs \ QTCFGLIBS+= -lm +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 + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |