Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.

Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
This commit is contained in:
Koop Mast 2015-07-16 20:53:28 +00:00
parent 1369aca1cb
commit 68f883edfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392322
89 changed files with 219 additions and 222 deletions

View File

@ -10,6 +10,13 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20150716:
AUTHOR: kwm@FreeBSD.org
USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
accepts version, build, run, nox11 and for version 9 the agpl argument.
If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.
20150701:
AUTHOR: mat@FreeBSD.org

104
Mk/Uses/ghostscript.mk Normal file
View File

@ -0,0 +1,104 @@
# $FreeBSD$
#
# Provide support for ghostscript ports.
#
# Feature: ghostscript
# Usage: USES=ghostscript or USES=ghostscript:args
# Valid ARGS: <version>, build, run, nox11, agpl
#
# version The chooseable versions are 7, 8 and 9. If no version is
# specified version 9 is selected.
#
# USES=ghostscript:7 # Use Ghostscript 7
# USES=ghostscript:run # Use the set default Ghostscript as a run dependancy
# USES=ghostscript:8,build # Use ghostscript 8 as a build dependancy.
#
# nox11 Indicate that the Ghostscript nox11 port is required.
# agpl Indicate that the Ghostscript apgl port is required.
# build Indicates that Ghostscript is needed at build time and adds
# it as BUILD_DEPENDS.
# run Indicates that Ghostscript is needed at run time and adds
# it as RUN_DEPENDS.
#
# If build and run are omitted, Ghostscript will be added as BUILD_DEPENDS and
# RUN_DEPENDS.
#
# MAINTAINER: ports@FreeBSD.org
.if !defined(_INCLUDE_USES_GHOSTSCRIPT_MK)
_INCLUDE_USES_GHOSTSCRIPT_MK= yes
# allowed versions
_GS_VERSION= 7 8 9
_GS_ARGS= ${ghostscript_ARGS}
.if ${_GS_ARGS:N[789]:Nnox11:Nagpl:Nbuild:Nrun}
IGNORE= Unknown ghostscript argument ${_GS_ARGS}
.endif
# Determine version number of Ghostscript to use
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
.if ${_GS_VERSION:M${GHOSTSCRIPT_DEFAULT}} == ""
IGNORE= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION}
.endif
# Make sure that no dependency or some other environment variable
# pollutes the build/run dependency detection
.undef _GS_BUILD_DEP
.undef _GS_RUN_DEP
.if ${_GS_ARGS:Mbuild}
_GS_BUILD_DEP= yes
.endif
.if ${_GS_ARGS:Mrun}
_GS_RUN_DEP= yes
.endif
# The port does not specify a build or run dependency, assume both are
# required.
.if !defined(_GS_BUILD_DEP) && !defined(_GS_RUN_DEP)
_GS_BUILD_DEP= yes
_GS_RUN_DEP= yes
.endif
_GS_SELECTED= ${GHOSTSCRIPT_DEFAULT}
.if ${_GS_ARGS:M9}
_GS_SELECTED:= 9
.elif ${_GS_ARGS:M8}
_GS_SELECTED:= 8
.elif ${_GS_ARGS:M7}
_GS_SELECTED:= 7
.endif
.undef _GS_AGPL_SUFFIX
.if ${_GS_ARGS:Magpl}
. if ${_GS_SELECTED} == "9"
_GS_AGPL_SUFFIX= -agpl
. else
IGNORE= Ghostscript-agpl is only available in version 9
. endif
.endif
.undef _GS_NOX11_SUFFIX
.if ${_GS_ARGS:Mnox11} || defined(WITHOUT_X11)
_GS_NOX11_SUFFIX= -nox11
.endif
.endif # _INCLUDE_USES_GHOSTSCRIPT_MK
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GHOSTSCRIPT_POST_MK)
_INCLUDE_USES_GHOSTSCRIPT_POST_MK= yes
# dependencies
_GS_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}${_GS_NOX11_SUFFIX}
.if defined(_GS_BUILD_DEP)
BUILD_DEPENDS+= ${_GS_PORT}>=0:${PORTSDIR}/print/${_GS_PORT}
.endif
.if defined(_GS_RUN_DEP)
RUN_DEPENDS+= ${_GS_PORT}>=0:${PORTSDIR}/print/${_GS_PORT}
.endif
.endif

View File

@ -32,6 +32,7 @@ PYTHON3_DEFAULT?= 3.4
RUBY_DEFAULT?= 2.1
TCLTK_DEFAULT?= 8.6
FIREBIRD_DEFAULT?= 2.5
GHOSTSCRIPT_DEFAULT?= 9
# Version of lang/gcc. Do not override!
LANG_GCC_IS= 4.8

View File

@ -342,27 +342,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# CXXFLAGS_${ARCH}
# Append the cxxflags to CXXFLAGS only on the specified architecture
##
# USE_GHOSTSCRIPT
# - If set, this port needs ghostscript to both
# build and run. If a number is specified,
# the specified version will be used.
# The valid value is '7', '8', or '9' in that case.
# USE_GHOSTSCRIPT_BUILD
# - If set, this port needs ghostscript to build.
# USE_GHOSTSCRIPT_RUN
# - If set, this port needs ghostscript to run.
# GHOSTSCRIPT_PORT
# - The port that provides postscript functionality.
# Some installations may wish to override the default
# to specify a version without X11 and/or localized
# versions for their nationality.
# Default: print/ghostscript9
# WITH_GHOSTSCRIPT_VER
# - If set, the specified version of ghostscript will be
# used. The valid value is "7", "8", or "9". Note that
# this is for users, not for port maintainers. This
# should not be used in Makefile.
##
# USE_GL - A list of Mesa or GL related dependencies needed by the port.
# Supported components are: egl, glesv2, glut, glu, glw, and gl.
# If set to "yes", this is equivalent to "glu". Note that
@ -1927,58 +1906,6 @@ CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
.endif
.endif
# Set the default for the installation of Postscript(TM)-
# compatible functionality.
.if !defined(USE_GHOSTSCRIPT)
. if defined(USE_GHOSTSCRIPT_BUILD)
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_BUILD}
. elif defined(USE_GHOSTSCRIPT_RUN)
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_RUN}
. endif
.else
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT}
.endif
.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789])
_USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER}
.else
_USE_GHOSTSCRIPT_DEFAULT_VER= 9
.endif
.if defined(_USE_GHOSTSCRIPT)
. if !defined(WITHOUT_X11)
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=
. else
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11
. endif
. if !empty(_USE_GHOSTSCRIPT:M[789])
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]}
. else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
. endif
.else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
.endif
# Sanity check
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
. if empty(WITH_GHOSTSCRIPT_VER:M[789])
. error You set an invalid value "${WITH_GHOSTSCRIPT_VER}" in WITH_GHOSTSCRIPT_VER. Abort.
. elif ${_USE_GHOSTSCRIPT_VER} != ${WITH_GHOSTSCRIPT_VER}
. error You set WITH_GHOSTSCRIPT_VER as ${WITH_GHOSTSCRIPT_VER} but ${PKGNAME} requires print/ghostscript${_USE_GHOSTSCRIPT_VER}. Abort.
. endif
.endif
GHOSTSCRIPT_PORT?= print/ghostscript${_USE_GHOSTSCRIPT_VER}${_USE_GHOSTSCRIPT_PKGNAME_SUFFIX}
# Set up the ghostscript dependencies.
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD)
BUILD_DEPENDS+= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}
.endif
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_RUN)
RUN_DEPENDS+= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}
.endif
# Macro for doing in-place file editing using regexps
REINPLACE_ARGS?= -i.bak
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}

View File

@ -47,6 +47,10 @@ DEV_ERROR+= "USE_KDELIBS_VER is unsupported"
DEV_ERROR+= "USE_QT_VER is unsupported"
.endif
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN)
DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead"
.endif
.if !empty(LIB_DEPENDS:M*/../*)
DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency"
.endif

View File

@ -16,8 +16,7 @@ LICENSE= GPLv2
OPTIONS_DEFINE= EXAMPLES
USE_XORG= xpm xscrnsaver xt
USES= tk gmake tar:tgz
USE_GHOSTSCRIPT_RUN= yes
USES= tk ghostscript:run gmake tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR}

View File

@ -14,7 +14,7 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-*
PLIST= ${WRKDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
USE_GHOSTSCRIPT_RUN= yes
USES+= ghostscript:run
post-patch:
@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist

View File

@ -17,8 +17,7 @@ LIB_DEPENDS= libsigc-1.2.so:${PORTSDIR}/devel/libsigc++12 \
libcxx-gtk-utils-2-2.2.so:${PORTSDIR}/x11-toolkits/c++-gtk-utils
RUN_DEPENDS= ggv:${PORTSDIR}/print/ggv
USES= compiler:c++11-lib pkgconfig
USE_GHOSTSCRIPT_RUN=yes
USES= compiler:c++11-lib ghostscript:run pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes

View File

@ -15,9 +15,8 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libjbig.so:${PORTSDIR}/graphics/jbigkit
MAKE_JOBS_UNSAFE= yes
USE_GHOSTSCRIPT=yes
HAS_CONFIGURE= yes
USES= fakeroot jpeg
USES= fakeroot ghostscript jpeg
CONFIGURE_ARGS= --with-INSTALL="" \
--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \

View File

@ -14,8 +14,7 @@ COMMENT= Tcl/tk interface to Sam Leffler's fax package
RUN_DEPENDS= sendfax:${PORTSDIR}/comms/hylafax \
gv:${PORTSDIR}/print/gv
USE_GHOSTSCRIPT_RUN= yes
USES+= tk:run
USES+= ghostscript:run tk:run
WRKSRC= ${WRKDIR}/tkhylafax
MAKE_ARGS= STAGEDIR=${STAGEDIR} PREFIX=${STAGEDIR}${PREFIX} TCLSH=${TCLSH} WISH=${WISH}

View File

@ -14,7 +14,7 @@ COMMENT= Manage your projects or tasks within GNU Emacs
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf
USE_EMACS= yes
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
USE_TEX= latex dvipsk
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}

View File

@ -23,7 +23,7 @@ MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
PLIST_SUB+= PDFVIEW="@comment "
.else
PLIST_SUB+= PDFVIEW=""
USE_GHOSTSCRIPT= yes
USES+= ghostscript
.endif
pre-configure:

View File

@ -65,7 +65,7 @@ IGNORE= PDFDOCS option requires HTMLDOCS and LATEX options to be set
.endif
.if ${PORT_OPTIONS:MPDFDOCS}
USE_GHOSTSCRIPT_BUILD= yes
USES+= ghostscript:build
.endif
.if ${PORT_OPTIONS:MQT4}

View File

@ -66,7 +66,7 @@ PLIST_SUB+= GDCM_MAJOR="${GDCM_MAJOR}" \
.if ${PORT_OPTIONS:MDOCS}
USE_TEX= latex:build
USE_GHOSTSCRIPT=yes
USES+= ghostscript
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=YES \
-DGDCM_INSTALL_MAN_DIR:STRING=man \

View File

@ -17,8 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
USES= bison gettext gmake libtool:build
USE_GHOSTSCRIPT_BUILD= yes
USES= bison gettext ghostscript:build gmake libtool:build
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_linux_kd_h=no
USE_LDCONFIG= yes

View File

@ -26,8 +26,7 @@ GTK2_DESC= Use GTK2 instead of MOTIF
WRKSRC= ${WRKDIR}/Ted-${PORTVERSION}
USE_XORG= xext xft
USES= iconv
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run iconv
GNU_CONFIGURE= yes
MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \

View File

@ -40,7 +40,7 @@ PDF_DESC= Experimental PDF renderer
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
FREETYPE_CONFIGURE_WITH=freetype=linked
GHOSTSCRIPT_USE= GHOSTSCRIPT=yes
GHOSTSCRIPT_USES= ghostscript
GHOSTSCRIPT_CONFIGURE_WITH= gs=yes
ICONV_USES= iconv

View File

@ -13,8 +13,7 @@ COMMENT= LaTeX Development Environment
LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler
USES= desktop-file-utils pkgconfig qmake tar:bzip2
USE_GHOSTSCRIPT_RUN= yes
USES= desktop-file-utils ghostscript:run pkgconfig qmake tar:bzip2
_USE_QT4= gui network xml webkit \
moc_build rcc_build uic_build
_USE_QT5= concurrent network printsupport script webkit widgets \

View File

@ -12,9 +12,9 @@ COMMENT= Integrated writing environment for creating LaTeX documents
LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler \
libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
USES= desktop-file-utils dos2unix execinfo pkgconfig qmake
USES= desktop-file-utils dos2unix execinfo ghostscript:run \
pkgconfig qmake
DOS2UNIX_FILES= ${PORTNAME}.pro
USE_GHOSTSCRIPT_RUN= yes
USE_QT4= gui network script svg xml iconengines_run \
designer_build moc_build rcc_build uic_build
USE_TEX= latex dvipsk

View File

@ -21,9 +21,8 @@ LIB_DEPENDS= libjbig.so:${PORTSDIR}/graphics/jbigkit \
PORTSCOUT= limit:^1\.3\.
USES= iconv jpeg libtool tar:bzip2
USES= ghostscript iconv jpeg libtool tar:bzip2
USE_GNOME= libxml2
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CONFIGURE_ARGS= --without-perl --enable-shared --enable-static \

View File

@ -219,7 +219,11 @@ PLIST_SUB+= TIFF="@comment "
.if ${PORT_OPTIONS:MGSLIB}
CONFIGURE_ARGS+= --with-gslib
USE_GHOSTSCRIPT= yes
. if ${PORT_OPTIONS:MX11}
USES+= ghostscript
. else
USES+= ghostscript:nox11
. endif
.else
CONFIGURE_ARGS+= --without-gslib
.endif
@ -352,7 +356,7 @@ PLIST_SUB+= PANGO="@comment "
# PDF (Adobe Portable Document Format) support
.if ${PORT_OPTIONS:MPDF}
USE_GHOSTSCRIPT= yes
USES+= ghostscript
.endif
.if ! ${PORT_OPTIONS:MX11}
@ -375,7 +379,7 @@ INSTALL_TARGET= install-strip
.endif
.if ${PORT_OPTIONS:MTESTS}
USE_GHOSTSCRIPT_BUILD=yes
USES+= ghostscript:build
.endif
post-patch:

View File

@ -25,11 +25,10 @@ OYRANOS_DESC= ICC profile support via Oyranos
PRINT_DESC= Gutenprint (gimp-print) plugin
GNU_CONFIGURE= yes
USES= autoreconf desktop-file-utils gettext gmake jpeg libtool \
pkgconfig python
USES= autoreconf desktop-file-utils gettext ghostscript:run \
gmake jpeg libtool pkgconfig python
USE_XORG= xmu
USE_GNOME= gtk20
USE_GHOSTSCRIPT_RUN=yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip

View File

@ -11,8 +11,7 @@ MASTER_SITE_SUBDIR= CPAN:JV
MAINTAINER= perl@FreeBSD.org
COMMENT= Converts EPS images to PNG
USE_GHOSTSCRIPT= yes
USES= perl5
USES= ghostscript perl5
USE_PERL5= configure
MAKE_ARGS= INSTLLSCRIPT="${PREFIX}/bin"

View File

@ -12,9 +12,7 @@ COMMENT= Create or extract preview bitmaps in EPS files
LICENSE= GPLv2
USE_GHOSTSCRIPT_RUN= yes
USES= gmake
USES= ghostscript:run gmake
MAKEFILE= makefile
MAKE_ARGS= MAKE="${MAKE_CMD}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \

View File

@ -93,7 +93,7 @@ CONFIGURE_ARGS+= --without-dbus
.endif
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
USE_GHOSTSCRIPT= yes
USES+= ghostscript
CONFIGURE_ARGS+= --with-gs
PLIST_SUB+= GS=""
.else

View File

@ -32,7 +32,8 @@ DOCS_USE= tex=latex:build tex=dvipsk:build
GNU_CONFIGURE= yes
LATEX_GS_DESC= Use LaTeX & GhostScript
LATEX_GS_USE= tex=latex ghostscript=run
LATEX_GS_USE= tex=latex
LATEX_GS_USES= ghostscript
MAKE_JOBS_UNSAFE=yes

View File

@ -90,7 +90,7 @@ GNOMEUI_USE= GNOME=libgnomeui
SMYRNA_USE= GNOME=libglade2 GL=glut
GVEDIT_USE= qt4=qmake_build,moc_build,rcc_build,uic_build \
qt4=linguist_build,corelib,gui
GHOSTSCRIPT_USE=GHOSTSCRIPT=yes
GHOSTSCRIPT_USES=ghostscript
PERL_USES= perl5
PHP_USE= PHP=yes PHP_BUILD=yes
PYTHON_USES= python:2.7,build

View File

@ -15,8 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
USES= python
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run python
USE_PYTHON= distutils
post-install:

View File

@ -21,8 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
mplayer:${PORTSDIR}/multimedia/mplayer \
${PYGAME}
USES= python
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run python
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz

View File

@ -10,11 +10,11 @@ COMMENT= Convert LaTeX formula to image
BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man
USES= cmake:outsource desktop-file-utils shared-mime-info
USES= cmake:outsource desktop-file-utils ghostscript:run \
shared-mime-info
USE_QT4= gui xml dbus designer_build linguisttools_build \
qmake_build moc_build rcc_build uic_build
USE_TEX= latex dvipsk
USE_GHOSTSCRIPT_RUN= yes
CMAKE_ARGS= -DQT_QMAKE_EXECUTABLE_FINDQT=${QMAKE} \
-DKLF_BUILD_KTEXTEDITORPLUGIN=off \
-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \

View File

@ -57,6 +57,7 @@ FREETYPE_CONFIGURE_WITH=freetype
FREETYPE_LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype
GHOSTSCRIPT_CONFIGURE_WITH= gs
GHOSTSCRIPT_USES= ghostscript
GTK2_CONFIGURE_WITH= liblgtk2
GTK2_BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
@ -68,10 +69,6 @@ GTK2_RUN_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
USE_XORG= xpm
.endif
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
USE_GHOSTSCRIPT= yes
.endif
do-configure:
@(cd ${WRKSRC} && ${REINPLACE_CMD} ${OMAKESUBS} OMakefile)
(cd ${WRKSRC} && ${OMAKE} ${OMARGS} configure)

View File

@ -24,9 +24,9 @@ RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
NO_ARCH= yes
USES= desktop-file-utils gettext gmake pkgconfig python tar:xz
USES= desktop-file-utils gettext ghostscript gmake pkgconfig \
python tar:xz
USE_GNOME= gnomedocutils gtk30 librsvg2 pygobject3
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://peps.redprince.net/peps/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts EPS images to anti-aliased bitmaps
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
ETC="${PREFIX}/etc"

View File

@ -14,8 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USES= pathfix pkgconfig libtool
USE_GHOSTSCRIPT= yes
USES= ghostscript pathfix pkgconfig libtool
GNU_CONFIGURE= yes
MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}"
USE_LDCONFIG= yes

View File

@ -15,7 +15,7 @@ COMMENT= Wiliam Chia-Wei Cheng's yet another PS to EPSI converter
RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
NO_WRKSUBDIR= yes
pre-patch:

View File

@ -14,8 +14,7 @@ COMMENT= Create high quality Encapsulated Postscript, PDF, or PNG charts
LICENSE= GPLv2
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= distutils autoplist
USES= python:2.7
USES= ghostscript:run python:2.7
.include <bsd.port.mk>

View File

@ -17,10 +17,9 @@ RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
OPTIONS_DEFINE= DOCS EXAMPLES
USES= gmake jpeg:run perl5
USES= ghostscript:run gmake jpeg:run perl5
USE_PERL5= build
USE_GCC= any
USE_GHOSTSCRIPT_RUN= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_pts_bash="${SH}"
CONFIGURE_ARGS= --enable-gif

View File

@ -24,6 +24,8 @@ OPTIONS_DEFINE= GHOSTSCRIPT DOCS
GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg)
OPTIONS_DEFAULT= GHOSTSCRIPT
GHOSTSCRIPT_USES= ghostscript:run
PORTDOCS_MAIN= AUTHORS \
ChangeLog \
COPYING \
@ -64,10 +66,6 @@ PORTDOCS= ${PORTDOCS_MAIN} \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
USE_GHOSTSCRIPT_RUN= yes
.endif
post-patch:
@${REINPLACE_CMD} \
-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \

View File

@ -21,9 +21,8 @@ RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils \
bash:${PORTSDIR}/shells/bash
USE_XORG= xft xmu xpm
USE_GHOSTSCRIPT_RUN=yes
GNU_CONFIGURE= yes
USES= jpeg libtool:build shebangfix tar:bzip2
USES= ghostscript:run jpeg libtool:build shebangfix tar:bzip2
SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \

View File

@ -8,7 +8,7 @@ COMMENT= PDF and PostScript viewer plugin for Claws Mail
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
USE_GHOSTSCRIPT=yes
USES+= ghostscript
CLAWS_PLUGINS_BUILD= pdf_viewer

View File

@ -189,7 +189,7 @@ RUN_DEPENDS+= procmail:${PORTSDIR}/mail/procmail
.endif
.if ${PORT_OPTIONS:MSENDFAX}
USE_GHOSTSCRIPT=yes
USES+= ghostscript
SENDFAX_DEPENDS=sendfax:${PORTSDIR}/comms/mgetty+sendfax \
pnmscale:${PORTSDIR}/graphics/netpbm
BUILD_DEPENDS+= ${SENDFAX_DEPENDS}

View File

@ -196,7 +196,7 @@ USES+= readline
.else # LIBR_SLAVEPORT
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
USE_GHOSTSCRIPT_RUN= yes
USES+= ghostscript
.endif
.if ${PORT_OPTIONS:MJPEG}

View File

@ -34,9 +34,8 @@ MAKE_JOBS_UNSAFE= yes
ONLY_FOR_ARCHS= i386 amd64
USES= gmake perl5 python tar:tgz
USES= ghostscript gmake perl5 python tar:tgz
USE_AUTOTOOLS= autoconf aclocal
USE_GHOSTSCRIPT=yes
USE_GL= glut
USE_PERL5= build
USE_TEX= dvipsk formats

View File

@ -22,8 +22,7 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
USE_GNOME= pango
USE_PERL5= build
USE_GHOSTSCRIPT=yes
USES= cmake gmake perl5 pkgconfig
USES= cmake ghostscript gmake perl5 pkgconfig
CMAKE_ARGS= -DENABLE_java:BOOL=OFF \
-DENABLE_octave:BOOL=OFF \
-DENABLE_pdl:BOOL=OFF \

View File

@ -13,7 +13,7 @@ COMMENT= Full-screen slide shows of postscript files
LICENSE= GPLv2
USE_XORG= x11 xext xinerama
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}"
ALL_TARGET= pspresent

View File

@ -41,12 +41,12 @@ RUN_DEPENDS= ${LOCALBASE}/bin/analyseplugin:${PORTSDIR}/audio/ladspa \
WRKSRC= ${WRKDIR}/${DISTNAME:tl}
USES= libtool pathfix perl5 pkgconfig python shebangfix tar:bzip2
USES= ghostscript:run libtool pathfix perl5 pkgconfig python \
shebangfix tar:bzip2
SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi \
smogrify tools/autolives.pl
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_GHOSTSCRIPT_RUN= yes
USE_GNOME= gtk30
USE_LDCONFIG= yes

View File

@ -15,7 +15,7 @@ LICENSE= GPLv3
NOT_FOR_ARCHS= ia64
USE_TEX= latex
USE_GHOSTSCRIPT=yes
USES= ghostscript
USE_EMACS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \

View File

@ -23,11 +23,11 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libpoppler.so:${PORTSDIR}/graphics/poppler
MAKE_JOBS_UNSAFE=YES
USES= compiler:c++11-lib cpe jpeg libtool pathfix pkgconfig shebangfix tar:xz
USES= compiler:c++11-lib cpe ghostscript jpeg libtool pathfix \
pkgconfig shebangfix tar:xz
CPE_VENDOR= linuxfoundation
SHEBANG_FILES= filter/textonly
USE_GNOME= glib20
USE_GHOSTSCRIPT= yes
USE_RC_SUBR= cups_browsed
GNU_CONFIGURE= yes
CUPS_SOCKET?= /var/run/cups.sock

View File

@ -14,9 +14,8 @@ LICENSE= GPLv2
LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
USES= dos2unix
USES= dos2unix ghostscript:run
DOS2UNIX_FILES= fxlinuxprint.ppd
USE_GHOSTSCRIPT_RUN=yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= DOCS

View File

@ -23,9 +23,8 @@ WRKSRC= ${WRKDIR}/espgs-${PORTVERSION}
DATADIR= ${PREFIX}/share/espgs
USES= gmake iconv tar:bzip2
# We just need the ghostscript fonts, nothing more
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run gmake iconv tar:bzip2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -13,7 +13,7 @@ COMMENT= Converter from DVI to SVG
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
USE_TEX= base texmf texhash
ALL_TARGET= # empty
# workaround for svgfonts.c not including kpathsea/c-auto.h

View File

@ -13,8 +13,7 @@ COMMENT= Printer filter for EPSON EPL-5700L etc
LIB_DEPENDS= libijs.so:${PORTSDIR}/print/libijs
USES= uidfix tar:tgz
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run uidfix tar:tgz
MAKEFILE= ${FILESDIR}/Makefile
SUB_FILES= pkg-message

View File

@ -15,8 +15,7 @@ LICENSE= GPLv3
LIB_DEPENDS+= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
GNU_CONFIGURE= yes
USE_GHOSTSCRIPT=yes
USES= desktop-file-utils gmake
USES= desktop-file-utils ghostscript gmake
PLIST_FILES= bin/flpsed \
man/man1/flpsed.1.gz \
share/applications/flpsed.desktop \

View File

@ -12,7 +12,7 @@ COMMENT= All font to svg-font converter
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
NO_BUILD= yes
PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps

View File

@ -17,8 +17,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foom
gsed:${PORTSDIR}/textproc/gsed
PROJECTHOST= bsdistfiles
USE_GHOSTSCRIPT=yes
USES= gmake shebangfix
USES= ghostscript gmake shebangfix
SHEBANG_FILES= msexpand
SUB_FILES= pkg-message ${DEVDCONF_FILE}
EXTRAFILES= msexpand getweb

View File

@ -15,8 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
USES= autoreconf perl5 pkgconfig
USE_GHOSTSCRIPT=yes
USES= autoreconf ghostscript perl5 pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \
ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \

View File

@ -14,9 +14,8 @@ COMMENT= GNOME 2 ghostscript viewer
INSTALLS_OMF= yes
USE_GNOME= gnomeprefix intlhack libgnomeui
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
tar:bzip2
USE_GHOSTSCRIPT=yes
USES= desktop-file-utils gettext ghostscript gmake libtool \
pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm

View File

@ -23,7 +23,7 @@ PLIST_SUB= GS_RESDIR="${GS_RESDIR}"
PKGMESSAGE= ${WRKDIR}/pkg-message
DEPENDS_ARGS+= -DA4
# set these forcibly
USE_GHOSTSCRIPT_RUN=7
USES= ghostscript:7,run
CONFLICTS_INSTALL= \
ghostscript8-[0-9]* \

View File

@ -16,7 +16,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:${PORTSDIR}/jap
${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont
# set these forcibly
USE_GHOSTSCRIPT_RUN= 7
USES= ghostscript:7,run
NO_BUILD= yes
DEPENDS_ARGS+= -DA4

View File

@ -16,7 +16,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:${PORTSDIR}/korean/
${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont
# set these forcibly
USE_GHOSTSCRIPT_RUN= 7
USES= ghostscript:7,run
NO_BUILD= yes
DEPENDS_ARGS+= -DA4

View File

@ -10,9 +10,8 @@ DISTNAME= GSPdf-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Postscript and Pdf Viewer for GNUstep
USES= gnustep
USES= ghostscript gnustep
USE_GNUSTEP= back build
USE_GHOSTSCRIPT= yes
MAKE_ENV= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

View File

@ -18,9 +18,8 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
RUN_DEPENDS+= epstool:${PORTSDIR}/graphics/epstool \
pstotext:${PORTSDIR}/print/pstotext
USES= cpe
USES= cpe ghostscript
USE_GNOME= gtk12
USE_GHOSTSCRIPT=yes
MAKE_JOBS_UNSAFE= yes

View File

@ -13,8 +13,7 @@ COMMENT= PostScript and PDF previewer
LIB_DEPENDS= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
USE_XORG= xpm ice sm xext xmu x11
USE_GHOSTSCRIPT= yes
USES= cpe iconv gmake perl5 shebangfix
USES= cpe ghostscript iconv gmake perl5 shebangfix
USE_PERL5= build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include

View File

@ -13,8 +13,7 @@ CONFLICTS= hplip-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking
USES= jpeg
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run jpeg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -21,8 +21,8 @@ RUN_DEPENDS= espgs:${PORTSDIR}/print/cups-pstoraster \
CONFLICTS_INSTALL= hpijs-[0-9]*
INSTALL_TARGET= install-strip
USES= dos2unix jpeg libtool pkgconfig python shebangfix
USE_GHOSTSCRIPT_RUN= yes
USES= dos2unix ghostscript:run jpeg libtool pkgconfig python \
shebangfix
USE_GNOME= pygobject
USE_LDCONFIG= yes

View File

@ -21,8 +21,7 @@ RUN_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \
paperconf:${PORTSDIR}/print/libpaper
NO_BUILD= yes
USES= perl5
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run perl5
SUB_FILES= html2psrc

View File

@ -14,8 +14,7 @@ COMMENT= Simple utility to manipulate PS and PDF files
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
USE_QT4= qt3support moc_build porting_build uic3_build
USE_GHOSTSCRIPT_RUN= yes
USES= qmake zip
USES= ghostscript:run qmake zip
DESKTOP_ENTRIES= "KPDFTool" "${COMMENT}" "kpdftool" \
"kpdftool" "Qt;Utility;" true

View File

@ -12,10 +12,9 @@ COMMENT= Small library for rendering Postscript documents
LICENSE= GPLv2
USES= gmake libtool:keepla pathfix pkgconfig
USES= gmake libtool:keepla pathfix pkgconfig ghostscript
USE_LDCONFIG= yes
USE_GNOME= cairo
USE_GHOSTSCRIPT=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes

View File

@ -47,9 +47,9 @@ INFO= internals \
lilypond-web \
music-glossary
USES= bison:build gettext gmake pkgconfig perl5 compiler:c++11-lib python:-3
USES= bison:build gettext ghostscript:9 gmake pkgconfig perl5 \
compiler:c++11-lib python:-3
USE_CXXSTD= c++11
USE_GHOSTSCRIPT=9
USE_TEX= latex
USE_PERL5= build
USE_GNOME= pango

View File

@ -47,8 +47,8 @@ INFO= internals \
lilypond-web \
music-glossary
USES= bison:build gettext gmake pkgconfig perl5 python:-3
USE_GHOSTSCRIPT=9
USES= bison:build gettext ghostscript:9 gmake pkgconfig perl5 \
python:-3
USE_TEX= latex
USE_PERL5= build
USE_GNOME= pango

View File

@ -16,9 +16,8 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
mpage:${PORTSDIR}/print/mpage \
pstops:${PORTSDIR}/print/psutils
USES= shebangfix
USES= ghostscript:run shebangfix
SHEBANG_FILES= lpr-wrapper.in lpr-wrapper-cups.in lpr-wrapper-features
USE_GHOSTSCRIPT_RUN= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/magicfilter/
MAINTAINER= ports@FreeBSD.org
COMMENT= Customizable, extensible automatic printer filter
USE_GHOSTSCRIPT= yes
USES= ghostscript
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.sh

View File

@ -13,8 +13,7 @@ COMMENT= Generate Encapsulated Postscript file from Postscript document
WRKSRC= ${WRKDIR}/ps2eps
USE_GHOSTSCRIPT_RUN= yes
USES= perl5
USES= ghostscript:run perl5
USE_PERL5= run
OPTIONS_DEFINE= DOCS

View File

@ -12,7 +12,7 @@ COMMENT= Calculates the optimal placement of the pages for n-up printing
LICENSE= GPLv2
USE_GHOSTSCRIPT=yes
USES= ghostscript
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}

View File

@ -18,7 +18,7 @@ LICENSE_NAME= End User License Agreement
LICENSE_FILE= ${WRKSRC}/pstotext.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
SUB_LIST= LICENSE=${LICENSE} \
LICENSE_DIR=${_LICENSE_DIR}

View File

@ -27,8 +27,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinte
USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME= libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN= yes
USES= cmake desktop-file-utils jpeg pkgconfig python shared-mime-info tar:xz
USES= cmake desktop-file-utils ghostscript:run jpeg pkgconfig \
python shared-mime-info tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit

View File

@ -29,9 +29,8 @@ LIB_DEPENDS= libicuio.so:${PORTSDIR}/devel/icu \
CONFLICTS_INSTALL= texlive-texmf-201[23]*
USE_TEX= web2c kpathsea ptexenc texhash-bootstrap
USES= gmake pkgconfig perl5 shebangfix tar:xz
USES= ghostscript gmake pkgconfig perl5 shebangfix tar:xz
USE_AUTOTOOLS= autoconf
USE_GHOSTSCRIPT=yes
USE_PERL5= run
USE_LDCONFIG= yes
# during build phase gnu configure is run a lot

View File

@ -24,7 +24,7 @@ RASTER_DESC= rasterization support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRASTER}
USE_GHOSTSCRIPT_RUN= yes
USES+= ghostscript:run
USE_TEX= latex dvipsk
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
.endif

View File

@ -14,9 +14,8 @@ COMMENT= Tools to convert Xfig .fig files
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
USES= alias imake
USES= alias ghostscript:run imake
CFLAGS+= -Wno-return-type
USE_GHOSTSCRIPT_RUN= yes
USE_XORG= xpm
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \

View File

@ -15,8 +15,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps \
mpage:${PORTSDIR}/print/mpage
USES= tar:tgz tk
USE_GHOSTSCRIPT_BUILD= yes
USES= ghostscript:build tar:tgz tk
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_WISH=${WISH}
CONFIGURE_ARGS= --with-spool_directory=/var/spool/lpd

View File

@ -28,9 +28,8 @@ RUN_DEPENDS= links:${PORTSDIR}/www/links1 \
p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser \
zip:${PORTSDIR}/archivers/zip
USES= perl5
USES= ghostscript:run perl5
USE_PERL5= run
USE_GHOSTSCRIPT_RUN= yes
DEPENDS_ARGS+= BATCH=yes
NO_BUILD= yes

View File

@ -15,8 +15,7 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/bin/psselect:${PORTSDIR}/print/psutils
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GHOSTSCRIPT=yes
USES= cpe gmake perl5 shebangfix
USES= cpe ghostscript gmake perl5 shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-awk=/usr/bin/awk
CONFIGURE_ENV+= PERLPATH=${perl_CMD} # shebangfix

View File

@ -15,8 +15,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFLICTS= ja-latex2html-[0-9]*
USES= perl5
USE_GHOSTSCRIPT=yes
USES= ghostscript perl5
USE_TEX= latex dvipsk texhash
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-perl=${PERL} \

View File

@ -10,8 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line tool for converting pdf-files into html
USES= gmake
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript gmake
PLIST_FILES= bin/pdf-to-html

View File

@ -14,7 +14,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX class for writing transparencies
NO_BUILD= yes
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run
USE_TEX= latex
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr

View File

@ -12,8 +12,7 @@ COMMENT= Text processing tools to generate documentation from source files
BUILD_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
USES= gmake perl5
USE_GHOSTSCRIPT=yes
USES= ghostscript gmake perl5
USE_TEX= latex dvipsk
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}

View File

@ -14,8 +14,7 @@ COMMENT= TeX to HTML translator
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
USES= shebangfix tar:tgz
USE_GHOSTSCRIPT_RUN= yes
USES= ghostscript:run shebangfix tar:tgz
#USE_TEX= latex
SHEBANG_FILES= Xfonts.fix

View File

@ -15,10 +15,9 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
MAKE_JOBS_UNSAFE= yes
USE_GHOSTSCRIPT_RUN= yes
USE_XORG= xt sm ice xext x11
USE_GNOME= glib12
USES= gmake jpeg libtool makeinfo
USES= ghostscript:run gmake jpeg libtool makeinfo
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-0.5.9