mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Use the new ghostscript options.
Submitted by: linimon
This commit is contained in:
parent
77e590c67f
commit
b7eeb1b30d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98657
@ -15,14 +15,6 @@ MASTER_SITES= http://xcircuit.ece.jhu.edu/archive/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An X11 drawing program [especially for circuit schematics]
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_XPM= yes
|
||||
@ -34,6 +26,8 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
WISH= ${LOCALBASE}/bin/wish8.4
|
||||
|
||||
.if defined(WITH_TCLTK)
|
||||
|
@ -12,19 +12,14 @@ MASTERDIR= ${.CURDIR}/../../print/enscript-letter
|
||||
|
||||
MAINTAINER= keith@FreeBSD.org
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
|
||||
|
||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
PKGMESSAGE= ${.CURDIR}/pkg-message
|
||||
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
|
@ -18,17 +18,12 @@ EXTRACT_ONLY= # empty
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= MOE CIDFonts converted by Adobe
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
|
||||
|
||||
NO_BUILD= YES
|
||||
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
|
@ -14,15 +14,10 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A tcl/tk interface to Sam Leffler's fax package
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 \
|
||||
sendfax:${PORTSDIR}/comms/hylafax \
|
||||
gs:${PORTSDIR}/${GSPORT} \
|
||||
gv:${PORTSDIR}/print/gv
|
||||
|
||||
WRKSRC= ${WRKDIR}/tkhylafax
|
||||
|
@ -27,17 +27,10 @@ USE_GNUSTEP_BUILD= yes
|
||||
USE_GNUSTEP_INSTALL= yes
|
||||
MAKEFILE= GNUmakefile
|
||||
|
||||
.ifdef WITHOUT_GHOSTSCRIPT
|
||||
PLIST_SUB+= PDFVIEW="@comment "
|
||||
.else
|
||||
.if defined(WITH_GHOSTSCRIPT_AFP1)
|
||||
GSPORT?= print/ghostscript-afp1
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
|
||||
.ifdef USE_GHOSTSCRIPT
|
||||
PLIST_SUB+= PDFVIEW=""
|
||||
.else
|
||||
PLIST_SUB+= PDFVIEW="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -28,7 +28,7 @@ ALL_TARGET+= pdf
|
||||
PLIST_SUB+= HAVE_LATEX=""
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}
|
||||
MAKE_ARGS+= HAVE_LATEX=yes
|
||||
.else # !defined(WITHOUT_LATEX)
|
||||
PLIST_SUB+= HAVE_LATEX="@comment "
|
||||
|
@ -155,7 +155,7 @@ CONFIGURE_ARGS+= --without-lcms
|
||||
.if !defined(WITHOUT_IMAGEMAGICK_TTF)
|
||||
BUILD_DEPENDS+= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
NEED_GS= yes
|
||||
USE_GHOSTSCRIPT= yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ttf
|
||||
.endif
|
||||
@ -188,7 +188,7 @@ CONFIGURE_ARGS+= --without-dps
|
||||
# PDF (Adobe Portable Document Format) support
|
||||
.if !defined(WITHOUT_IMAGEMAGICK_PDF)
|
||||
CONFIGURE_ARGS+= --with-gslib
|
||||
NEED_GS= yes
|
||||
USE_GHOSTSCRIPT= yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gslib
|
||||
.endif
|
||||
@ -211,22 +211,6 @@ CONFIGURE_ARGS+= --without-mpeg2
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(NEED_GS)
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_X11)
|
||||
BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
|
||||
RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}-nox11
|
||||
.else
|
||||
BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
INSTALL_TARGET= install
|
||||
.else
|
||||
|
@ -15,13 +15,7 @@ MASTER_SITE_SUBDIR= ../../authors/Johan_Vromans
|
||||
MAINTAINER= nik@freebsd.org
|
||||
COMMENT= Converts EPS images to PNG
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
@ -13,13 +13,7 @@ MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Create or extract preview bitmaps in EPS files
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
|
@ -15,15 +15,9 @@ EXTRACT_SUFX= -src.tar.gz
|
||||
MAINTAINER= bremner@unb.ca
|
||||
COMMENT= Extensible drawing editor
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
latex:${PORTSDIR}/print/teTeX
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
USE_QT_VER= 3
|
||||
MAKE_ENV+= QTDIR=${QTDIR}
|
||||
|
@ -18,18 +18,12 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Objective Caml image processing library
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
||||
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
|
||||
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
||||
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
|
||||
LIB_DEPENDS= ungif:${PORTSDIR}/graphics/libungif \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
|
@ -15,14 +15,9 @@ MASTER_SITE_SUBDIR= petef
|
||||
MAINTAINER= petef@FreeBSD.org
|
||||
COMMENT= Converts EPS images to anti-aliased PGM bitmaps
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
pnmtopng:${PORTSDIR}/graphics/netpbm
|
||||
RUN_DEPENDS= pnmtopng:${PORTSDIR}/graphics/netpbm
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
|
@ -14,17 +14,11 @@ MASTER_SITES= http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convert PostScript to other vector graphic formats
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
BUILD_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
LIB_DEPENDS= Magick++.6:${PORTSDIR}/graphics/ImageMagick \
|
||||
ming.3:${PORTSDIR}/graphics/ming \
|
||||
plotter.4:${PORTSDIR}/graphics/plotutils
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
USE_GNOME= gnometarget pkgconfig
|
||||
USE_LIBTOOL= yes
|
||||
|
@ -16,14 +16,9 @@ EXTRACT_ONLY= #empty
|
||||
MAINTAINER= mita@FreeBSD.org
|
||||
COMMENT= Wiliam Chia-Wei Cheng's yet another PS to EPSI converter
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
|
@ -16,13 +16,7 @@ DISTNAME= PyChart-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Create high quality Encapsulated Postscript, PDF, or PNG charts
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
@ -15,15 +15,10 @@ MASTER_SITES= http://www.inf.bme.hu/~pts/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Converts raster (bitmap) image formats into PS or PDF files
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
BUILD_DEPENDS= tif22pnm:${PORTSDIR}/graphics/tif22pnm \
|
||||
tifftopnm:${PORTSDIR}/graphics/netpbm \
|
||||
gs:${PORTSDIR}/${GSPORT} \
|
||||
zip:${PORTSDIR}/archivers/zip \
|
||||
bash:${PORTSDIR}/shells/bash2
|
||||
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
||||
|
@ -20,14 +20,9 @@ BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
|
||||
.endif
|
||||
.if defined(WITH_FULL_DOCS)
|
||||
.undef NOPORTDOCS
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX \
|
||||
ps2pdf:${PORTSDIR}/${GSPORT}
|
||||
ps2pdf:${PORTSDIR}/${GHOSTSCRIPT_PORT}
|
||||
.endif
|
||||
|
||||
USE_XLIB= yes
|
||||
|
@ -18,14 +18,8 @@ NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
# XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
# ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -33,7 +27,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
STRIP=
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
pre-everything::
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
||||
|
@ -14,11 +14,7 @@ MASTER_SITES= ftp://ftp.lemis.com/pub/
|
||||
MAINTAINER= grog@lemis.com
|
||||
COMMENT= Instant workstation installs a typical set of ports for a workstation
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= acroread:${PORTSDIR}/print/acroread5 \
|
||||
bash:${PORTSDIR}/shells/bash2 \
|
||||
@ -26,7 +22,6 @@ RUN_DEPENDS= acroread:${PORTSDIR}/print/acroread5 \
|
||||
dos2unix:${PORTSDIR}/converters/unix2dos \
|
||||
emacs:${PORTSDIR}/editors/emacs20 \
|
||||
fetchmail:${PORTSDIR}/mail/fetchmail \
|
||||
gs:${PORTSDIR}/${GSPORT} \
|
||||
grip:${PORTSDIR}/audio/grip \
|
||||
gimp:${PORTSDIR}/graphics/gimp1 \
|
||||
gv:${PORTSDIR}/print/gv \
|
||||
@ -50,7 +45,7 @@ NO_BUILD= YES
|
||||
RUN_DEPENDS+= mount_smbfs:${PORTSDIR}/net/smbfs
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
pre-everything::
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
||||
|
@ -18,14 +18,8 @@ NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
# XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
# ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -33,7 +27,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
STRIP=
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
pre-everything::
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
||||
|
@ -35,11 +35,7 @@ MAKE_ENV+= NO_X=true
|
||||
# define WITH_GHOSTSCRIPT_AFPL=yes for AFPL Postscript interpreter
|
||||
# instead of GNU one
|
||||
#
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL)
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
#
|
||||
# hint: for batch mode you can now draw the following decisions
|
||||
@ -53,11 +49,6 @@ GSPORT?= print/ghostscript-gnu
|
||||
#
|
||||
# Build and install all filter apsfilter knows about (rather expensive)
|
||||
#
|
||||
# ps emulator
|
||||
.if defined(WITHOUT_X11)
|
||||
GSPORT:= ${GSPORT}-nox11
|
||||
.endif
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
# all needed decompression utilities
|
||||
.if !exists(/usr/bin/bzip2)
|
||||
RUN_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2
|
||||
@ -104,11 +95,6 @@ RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba
|
||||
# don't build too many dependencies
|
||||
# since apsfilter should fit easily on installation CD 1...
|
||||
#
|
||||
# ps emulator
|
||||
.if defined(WITHOUT_X11)
|
||||
GSPORT:= ${GSPORT}-nox11
|
||||
.endif
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
# most important "xxx to ps" filter utilities
|
||||
RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
|
||||
RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter
|
||||
@ -126,13 +112,13 @@ MAN5= apsfilterrc.5
|
||||
HAS_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
WRKSRC= ${WRKDIR}/apsfilter
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" GSPORT="${GSPORT}"
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" GHOSTSCRIPT_PORT="${GHOSTSCRIPT_PORT}"
|
||||
|
||||
# make a2ps port happy in this early stage
|
||||
PAPERSIZE?=letter
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL)
|
||||
pre-everything::
|
||||
.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"
|
||||
|
@ -16,8 +16,9 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= corecode@corecode.ath.cx
|
||||
COMMENT= "Printer filter for EPSON EPL-5700L etc"
|
||||
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
|
||||
MAKEFILE= ${FILESDIR}/Makefile
|
||||
|
||||
|
@ -15,14 +15,9 @@ MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= All font to svg-font converter
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
||||
|
||||
USE_REINPLACE= yes
|
||||
NO_BUILD= yes
|
||||
|
@ -16,18 +16,7 @@ DIST_SUBDIR= gnome2
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= GNOME 2 ghostscript viewer
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL)
|
||||
.if ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
@ -16,19 +16,10 @@ DIST_SUBDIR= gnome
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Gnome print support library
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL)
|
||||
.if ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
|
@ -16,19 +16,10 @@ DIST_SUBDIR= gnome
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Gnome print support library
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL)
|
||||
.if ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
|
@ -15,22 +15,16 @@ DISTNAME= html2ps-1.0b3
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= HTML to PostScript converter
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_BUILD= yes
|
||||
|
||||
BUILD_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \
|
||||
djpeg:${PORTSDIR}/graphics/jpeg \
|
||||
giftopnm:${PORTSDIR}/graphics/netpbm \
|
||||
gs:${PORTSDIR}/${GSPORT} \
|
||||
tex:${PORTSDIR}/print/teTeX \
|
||||
${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
weblint:${PORTSDIR}/www/weblint
|
||||
RUN_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick
|
||||
|
||||
site_perl= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
||||
USE_PERL5= YES
|
||||
NO_BUILD= YES
|
||||
|
||||
|
@ -14,16 +14,7 @@ MASTER_SITE_SUBDIR= system/printing
|
||||
MAINTAINER= cjh@FreeBSD.org
|
||||
COMMENT= Customizable, extensible automatic printer filter
|
||||
|
||||
# at least, gs must exist in many case
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/bin/gs:${PORTSDIR}/${GSPORT}
|
||||
# to give freedom to choose your favor gs..
|
||||
#RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
@ -31,7 +22,7 @@ MAN8= magicfilter.8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-fetch:
|
||||
pre-everything::
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
||||
|
@ -14,14 +14,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convert PNM images to PPA for some HP printers
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
enscript:${PORTSDIR}/print/enscript-letter
|
||||
RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-letter
|
||||
|
||||
USE_GETOPT_LONG= yes
|
||||
MAKE_ENV= LDFLAGS="${LDFLAGS}"
|
||||
|
@ -16,16 +16,10 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= LaTeX previewer on Emacs
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT= yes
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/auctex/latex.el:${PORTSDIR}/print/auctex \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/auctex/latex.el:${PORTSDIR}/print/auctex
|
||||
RUN_DEPENDS= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/auctex/latex.el:${PORTSDIR}/print/auctex \
|
||||
gs:${PORTSDIR}/${GSPORT} \
|
||||
mktexlsr:${PORTSDIR}/print/teTeX
|
||||
|
||||
EMACS_PORT_NAME?= emacs21
|
||||
|
@ -15,17 +15,11 @@ EXTRACT_SUFX= .tar.Z
|
||||
MAINTAINER= ob@breuninger.org
|
||||
COMMENT= A PostScript to Text converter
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
MAN1= pstotext.1
|
||||
|
||||
pre-fetch:
|
||||
pre-everything::
|
||||
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
||||
@${ECHO} ""
|
||||
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
||||
|
@ -15,14 +15,9 @@ MASTER_SITES= http://web2.altmuehlnet.de/fschmid/ \
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A comprehensive desktop publishing program
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
USE_QT_VER= 3
|
||||
USE_REINPLACE= yes
|
||||
|
@ -15,14 +15,9 @@ MASTER_SITES= http://web2.altmuehlnet.de/fschmid/ \
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A comprehensive desktop publishing program
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
USE_QT_VER= 3
|
||||
USE_REINPLACE= yes
|
||||
|
@ -17,15 +17,10 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Tools to convert Xfig's .fig files
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
||||
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \
|
||||
gs:${PORTSDIR}/${GSPORT}
|
||||
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
|
||||
|
||||
USE_IMAKE= yes
|
||||
USE_XPM= yes
|
||||
|
@ -19,8 +19,10 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= papowell@astart.com
|
||||
COMMENT= Configuration Tool for LPRng
|
||||
|
||||
USE_GHOSTSCRIPT_AFPL= yes
|
||||
USE_GHOSTSCRIPT_BUILD= yes
|
||||
|
||||
BUILD_DEPENDS= \
|
||||
gs:${PORTSDIR}/print/ghostscript-afpl \
|
||||
wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
|
||||
a2ps:${PORTSDIR}/print/a2ps-letter
|
||||
|
||||
|
@ -17,15 +17,9 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
MAINTAINER= thierry@pompo.net
|
||||
COMMENT= Prosper is a LaTeX class for writing transparencies
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
|
||||
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
||||
ps2pdf:${PORTSDIR}/${GSPORT}
|
||||
ps2pdf:${PORTSDIR}/${GHOSTSCRIPT_PORT}
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -17,14 +17,9 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A TeX to HTML translator
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \
|
||||
latex:${PORTSDIR}/print/teTeX \
|
||||
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
||||
ppmtogif:${PORTSDIR}/graphics/netpbm
|
||||
|
||||
MAN1= tth.1
|
||||
|
@ -14,16 +14,11 @@ MASTER_SITE_SUBDIR= dgs
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A display ghostscript system
|
||||
|
||||
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
||||
GSPORT?= print/ghostscript-afpl
|
||||
.else
|
||||
GSPORT?= print/ghostscript-gnu
|
||||
.endif
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_PERL5_BUILD=yes
|
||||
|
Loading…
Reference in New Issue
Block a user