View | Details | Raw Unified | Return to bug 201201 | Differences between
and this patch

Collapse All | Expand All

(-)CHANGES (+7 lines)
Lines 10-15 Link Here
10
10
11
All ports committers are allowed to commit to this file.
11
All ports committers are allowed to commit to this file.
12
12
13
20150629:
14
AUTHOR:	kwm@FreeBSD.org
15
16
  USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
17
  accepts version, build, run, nox11 and for version 9 the agpl argument.
18
  If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.
19
13
20150622:
20
20150622:
14
AUTHOR: bapt@FreeBSD.org
21
AUTHOR: bapt@FreeBSD.org
15
22
(-)Mk/Uses/ghostscript.mk (+104 lines)
Line 0 Link Here
1
# $FreeBSD$
2
#
3
# Provide support for ghostscript ports.
4
#
5
# Feature:	ghostscript
6
# Usage:	USES=ghostscript or USES=ghostscript:args
7
# Valid ARGS:	<version>, build, run, nox11, agpl
8
#
9
# version 	The chooseable versions are 7, 8 and 9. If no version is
10
#		specified version 9 is selected.
11
#
12
#		USES=ghostscript:7	# Use Ghostscript 7
13
#		USES=ghostscript:run	# Use the set default Ghostscript as a run dependancy
14
#		USES=ghostscript:8,build # Use ghostscript 8 as a build dependancy.
15
#
16
# nox11		Indicate that the Ghostscript nox11 port is required.
17
# agpl		Indicate that the Ghostscript apgl port is required.
18
# build		Indicates that Ghostscript is needed at build time and adds
19
#		it as BUILD_DEPENDS.
20
# run		Indicates that Ghostscript is needed at run time and adds
21
#		it as RUN_DEPENDS.
22
#
23
# If build and run are omitted, Ghostscript will be added as BUILD_DEPENDS and
24
# RUN_DEPENDS.
25
#
26
# MAINTAINER: ports@FreeBSD.org (doceng@ or hrs@? doceng@ already has the ghostscript ports.)
27
28
.if !defined(_INCLUDE_USES_GHOSTSCRIPT_MK)
29
_INCLUDE_USES_GHOSTSCRIPT_MK=	yes
30
31
# allowed versions
32
_GS_VERSION=	7 8 9
33
34
# Make sure that no dependency or some other environment variable
35
# pollutes the build/run dependency detection
36
.undef _GS_BUILD_DEP
37
.undef _GS_RUN_DEP
38
_GS_ARGS=		${ghostscript_ARGS}
39
.if ${_GS_ARGS:Mbuild}
40
_GS_BUILD_DEP=	yes
41
_GS_ARGS:=		${_GS_ARGS:Nbuild}
42
.endif
43
.if ${_GS_ARGS:Mrun}
44
_GS_RUN_DEP=	yes
45
_GS_ARGS:=		${_GS_ARGS:Nrun}
46
.endif
47
48
# The port does not specify a build or run dependency, assume both are
49
# required.
50
.if !defined(_GS_BUILD_DEP) && !defined(_GS_RUN_DEP)
51
_GS_BUILD_DEP=	yes
52
_GS_RUN_DEP=	yes
53
.endif
54
55
# Determine version number of Ghostscript to use
56
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
57
58
.if ${_GS_VERSION:M${GHOSTSCRIPT_DEFAULT}} == ""
59
IGNORE=		Invalid GHOSTSCRIPT_DEFAULT value, please select one of ${_GS_VERSION}
60
.endif
61
62
_GS_SELECTED=	${GHOSTSCRIPT_DEFAULT}
63
.if ${_GS_ARGS:M9}
64
_GS_SELECTED:=		9
65
_GS_ARGS:=		${_GS_ARGS:N9}
66
.elif ${_GS_ARGS:M8}
67
_GS_SELECTED:=		8
68
_GS_ARGS:=		${_GS_ARGS:N8}
69
.elif ${_GS_ARGS:M7}
70
_GS_SELECTED:=		7
71
_GS_ARGS:=		${_GS_ARGS:N7}
72
.endif
73
74
.undef _GS_AGPL_SUFFIX
75
.if ${_GS_ARGS:Magpl}
76
. if ${_GS_SELECTED} == "9"
77
_GS_AGPL_SUFFIX=	-agpl
78
_GS_ARGS:=		${_GS_ARGS:Nagpl}
79
. else
80
IGNORE=		Ghostscript-agpl is only available in version 9
81
. endif
82
.endif
83
84
.undef _GS_NOX11_SUFFIX
85
.if ${_GS_ARGS:Mnox11}
86
_GS_NOX11_SUFFIX=	-nox11
87
_GS_ARGS:=		${_GS_ARGS:Nnox11}
88
.endif
89
90
.if ${_GS_ARGS} != ""
91
IGNORE=		Unknown ghostscript argument ${_GS_ARGS}
92
.endif
93
94
# dependencies
95
_GS_PORT=	ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}${_GS_NOX11_SUFFIX}
96
97
.if defined(_GS_BUILD_DEP)
98
BUILD_DEPENDS+=	${_GS_PORT}>=0:${PORTSDIR}/print/${_GS_PORT}
99
.endif
100
.if defined(_GS_RUN_DEP)
101
RUN_DEPENDS+=	${_GS_PORT}>=0:${PORTSDIR}/print/${_GS_PORT}
102
.endif
103
104
.endif # _INCLUDE_USES_GHOSTSCRIPT_MK
(-)Mk/bsd.default-versions.mk (+1 lines)
Lines 32-37 Link Here
32
RUBY_DEFAULT?=		2.1
32
RUBY_DEFAULT?=		2.1
33
TCLTK_DEFAULT?=		8.6
33
TCLTK_DEFAULT?=		8.6
34
FIREBIRD_DEFAULT?=	2.5
34
FIREBIRD_DEFAULT?=	2.5
35
GHOSTSCRIPT_DEFAULT?=	9
35
36
36
# Version of lang/gcc.  Do not override!
37
# Version of lang/gcc.  Do not override!
37
LANG_GCC_IS=		4.8
38
LANG_GCC_IS=		4.8
(-)Mk/bsd.port.mk (-73 lines)
Lines 345-371 Link Here
345
# CXXFLAGS_${ARCH}
345
# CXXFLAGS_${ARCH}
346
#				 Append the cxxflags to CXXFLAGS only on the specified architecture
346
#				 Append the cxxflags to CXXFLAGS only on the specified architecture
347
##
347
##
348
# USE_GHOSTSCRIPT
349
#				- If set, this port needs ghostscript to both
350
#				  build and run.  If a number is specified,
351
#				  the specified version will be used.
352
#				  The valid value is '7', '8', or '9' in that case.
353
# USE_GHOSTSCRIPT_BUILD
354
#				- If set, this port needs ghostscript to build.
355
# USE_GHOSTSCRIPT_RUN
356
#				- If set, this port needs ghostscript to run.
357
# GHOSTSCRIPT_PORT
358
#				- The port that provides postscript functionality.
359
#				  Some installations may wish to override the default
360
#				  to specify a version without X11 and/or localized
361
#				  versions for their nationality.
362
#				  Default: print/ghostscript9
363
# WITH_GHOSTSCRIPT_VER
364
#				- If set, the specified version of ghostscript will be
365
#				  used.  The valid value is "7", "8", or "9".  Note that
366
#				  this is for users, not for port maintainers.  This
367
#				  should not be used in Makefile.
368
##
369
# USE_GL		- A list of Mesa or GL related dependencies needed by the port.
348
# USE_GL		- A list of Mesa or GL related dependencies needed by the port.
370
#				  Supported components are: egl, glesv2, glut, glu, glw, and gl.
349
#				  Supported components are: egl, glesv2, glut, glu, glw, and gl.
371
#				  If set to "yes", this is equivalent to "glu". Note that
350
#				  If set to "yes", this is equivalent to "glu". Note that
Lines 1933-1990 Link Here
1933
.endif
1912
.endif
1934
.endif
1913
.endif
1935
1914
1936
# Set the default for the installation of Postscript(TM)-
1937
# compatible functionality.
1938
.if !defined(USE_GHOSTSCRIPT)
1939
.	if defined(USE_GHOSTSCRIPT_BUILD)
1940
_USE_GHOSTSCRIPT=	${USE_GHOSTSCRIPT_BUILD}
1941
.	elif defined(USE_GHOSTSCRIPT_RUN)
1942
_USE_GHOSTSCRIPT=	${USE_GHOSTSCRIPT_RUN}
1943
.	endif
1944
.else
1945
_USE_GHOSTSCRIPT=	${USE_GHOSTSCRIPT}
1946
.endif
1947
1948
.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789])
1949
_USE_GHOSTSCRIPT_DEFAULT_VER=	${WITH_GHOSTSCRIPT_VER}
1950
.else
1951
_USE_GHOSTSCRIPT_DEFAULT_VER=	9
1952
.endif
1953
1954
.if defined(_USE_GHOSTSCRIPT)
1955
.	if !defined(WITHOUT_X11)
1956
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=
1957
.	else
1958
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11
1959
.	endif
1960
.	if !empty(_USE_GHOSTSCRIPT:M[789])
1961
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]}
1962
.	else
1963
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
1964
.	endif
1965
.else
1966
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
1967
.endif
1968
1969
# Sanity check
1970
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
1971
.	if empty(WITH_GHOSTSCRIPT_VER:M[789])
1972
.		error You set an invalid value "${WITH_GHOSTSCRIPT_VER}" in WITH_GHOSTSCRIPT_VER.  Abort.
1973
.	elif ${_USE_GHOSTSCRIPT_VER} != ${WITH_GHOSTSCRIPT_VER}
1974
.		error You set WITH_GHOSTSCRIPT_VER as ${WITH_GHOSTSCRIPT_VER} but ${PKGNAME} requires print/ghostscript${_USE_GHOSTSCRIPT_VER}.  Abort.
1975
.	endif
1976
.endif
1977
1978
GHOSTSCRIPT_PORT?=	print/ghostscript${_USE_GHOSTSCRIPT_VER}${_USE_GHOSTSCRIPT_PKGNAME_SUFFIX}
1979
1980
# Set up the ghostscript dependencies.
1981
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD)
1982
BUILD_DEPENDS+=	gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}
1983
.endif
1984
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_RUN)
1985
RUN_DEPENDS+=	gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}
1986
.endif
1987
1988
# Macro for doing in-place file editing using regexps
1915
# Macro for doing in-place file editing using regexps
1989
REINPLACE_ARGS?=	-i.bak
1916
REINPLACE_ARGS?=	-i.bak
1990
REINPLACE_CMD?=	${SED} ${REINPLACE_ARGS}
1917
REINPLACE_CMD?=	${SED} ${REINPLACE_ARGS}
(-)Mk/bsd.sanity.mk (+4 lines)
Lines 47-52 Link Here
47
DEV_ERROR+=	"USE_QT_VER is unsupported"
47
DEV_ERROR+=	"USE_QT_VER is unsupported"
48
.endif
48
.endif
49
49
50
.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN)
51
DEV_ERROR+=	"USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead"
52
.endif
53
50
.if !empty(LIB_DEPENDS:M*/../*)
54
.if !empty(LIB_DEPENDS:M*/../*)
51
DEV_ERROR+=	"LIB_DEPENDS contains unsupported relative path to dependency"
55
DEV_ERROR+=	"LIB_DEPENDS contains unsupported relative path to dependency"
52
.endif
56
.endif
(-)cad/xcircuit/Makefile (-2 / +1 lines)
Lines 16-23 Link Here
16
OPTIONS_DEFINE=	EXAMPLES
16
OPTIONS_DEFINE=	EXAMPLES
17
17
18
USE_XORG=	xpm xscrnsaver xt
18
USE_XORG=	xpm xscrnsaver xt
19
USES=	tk gmake tar:tgz
19
USES=	tk ghostscript:run gmake tar:tgz
20
USE_GHOSTSCRIPT_RUN=	yes
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
21
CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
23
		--with-tk=${TK_LIBDIR}
22
		--with-tk=${TK_LIBDIR}
(-)chinese/enscript/Makefile (-1 / +1 lines)
Lines 14-20 Link Here
14
PLIST=		${WRKDIR}/pkg-plist
14
PLIST=		${WRKDIR}/pkg-plist
15
PKGMESSAGE=	${.CURDIR}/pkg-message
15
PKGMESSAGE=	${.CURDIR}/pkg-message
16
16
17
USE_GHOSTSCRIPT_RUN=	yes
17
USES+=		ghostscript:run
18
18
19
post-patch:
19
post-patch:
20
	@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
20
	@${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist
(-)comms/efax-gtk/Makefile (-2 / +1 lines)
Lines 17-24 Link Here
17
		libcxx-gtk-utils-2-2.2.so:${PORTSDIR}/x11-toolkits/c++-gtk-utils
17
		libcxx-gtk-utils-2-2.2.so:${PORTSDIR}/x11-toolkits/c++-gtk-utils
18
RUN_DEPENDS=	ggv:${PORTSDIR}/print/ggv
18
RUN_DEPENDS=	ggv:${PORTSDIR}/print/ggv
19
19
20
USES=		compiler:c++11-lib pkgconfig
20
USES=		compiler:c++11-lib ghostscript:run pkgconfig
21
USE_GHOSTSCRIPT_RUN=yes
22
USE_GNOME=	gtk20
21
USE_GNOME=	gtk20
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
23
(-)comms/hylafax/Makefile (-2 / +1 lines)
Lines 15-23 Link Here
15
		libjbig.so:${PORTSDIR}/graphics/jbigkit
15
		libjbig.so:${PORTSDIR}/graphics/jbigkit
16
16
17
MAKE_JOBS_UNSAFE=	yes
17
MAKE_JOBS_UNSAFE=	yes
18
USE_GHOSTSCRIPT=yes
19
HAS_CONFIGURE=	yes
18
HAS_CONFIGURE=	yes
20
USES=		fakeroot jpeg
19
USES=		fakeroot ghostscript jpeg
21
20
22
CONFIGURE_ARGS=	--with-INSTALL="" \
21
CONFIGURE_ARGS=	--with-INSTALL="" \
23
		--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \
22
		--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \
(-)comms/tkhylafax/Makefile (-2 / +1 lines)
Lines 14-21 Link Here
14
RUN_DEPENDS=	sendfax:${PORTSDIR}/comms/hylafax \
14
RUN_DEPENDS=	sendfax:${PORTSDIR}/comms/hylafax \
15
		gv:${PORTSDIR}/print/gv
15
		gv:${PORTSDIR}/print/gv
16
16
17
USE_GHOSTSCRIPT_RUN=	yes
17
USES+=		ghostscript:run tk:run
18
USES+=		tk:run
19
18
20
WRKSRC=		${WRKDIR}/tkhylafax
19
WRKSRC=		${WRKDIR}/tkhylafax
21
MAKE_ARGS=	STAGEDIR=${STAGEDIR} PREFIX=${STAGEDIR}${PREFIX} TCLSH=${TCLSH} WISH=${WISH}
20
MAKE_ARGS=	STAGEDIR=${STAGEDIR} PREFIX=${STAGEDIR}${PREFIX} TCLSH=${TCLSH} WISH=${WISH}
(-)deskutils/etask/Makefile (-1 / +1 lines)
Lines 14-20 Link Here
14
RUN_DEPENDS=	xpdf:${PORTSDIR}/graphics/xpdf
14
RUN_DEPENDS=	xpdf:${PORTSDIR}/graphics/xpdf
15
15
16
USE_EMACS=	yes
16
USE_EMACS=	yes
17
USE_GHOSTSCRIPT_RUN=	yes
17
USES=		ghostscript:run
18
USE_TEX=	latex dvipsk
18
USE_TEX=	latex dvipsk
19
19
20
LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
20
LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
(-)deskutils/gworkspace/Makefile (-1 / +1 lines)
Lines 24-30 Link Here
24
PLIST_SUB+=	PDFVIEW="@comment "
24
PLIST_SUB+=	PDFVIEW="@comment "
25
.else
25
.else
26
PLIST_SUB+=	PDFVIEW=""
26
PLIST_SUB+=	PDFVIEW=""
27
USE_GHOSTSCRIPT=	yes
27
USES+=		ghostscript
28
.endif
28
.endif
29
29
30
pre-configure:
30
pre-configure:
(-)devel/doxygen/Makefile (-1 / +1 lines)
Lines 65-71 Link Here
65
.endif
65
.endif
66
66
67
.if ${PORT_OPTIONS:MPDFDOCS}
67
.if ${PORT_OPTIONS:MPDFDOCS}
68
USE_GHOSTSCRIPT_BUILD=	yes
68
USES+=		ghostscript:build
69
.endif
69
.endif
70
70
71
.if ${PORT_OPTIONS:MQT4}
71
.if ${PORT_OPTIONS:MQT4}
(-)devel/gdcm/Makefile (-1 / +1 lines)
Lines 66-72 Link Here
66
66
67
.if ${PORT_OPTIONS:MDOCS}
67
.if ${PORT_OPTIONS:MDOCS}
68
USE_TEX=	latex:build
68
USE_TEX=	latex:build
69
USE_GHOSTSCRIPT=yes
69
USES+=		ghostscript
70
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
70
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
71
CMAKE_ARGS+=	-DGDCM_DOCUMENTATION:BOOL=YES \
71
CMAKE_ARGS+=	-DGDCM_DOCUMENTATION:BOOL=YES \
72
		-DGDCM_INSTALL_MAN_DIR:STRING=man \
72
		-DGDCM_INSTALL_MAN_DIR:STRING=man \
(-)devel/libexplain/Makefile (-2 / +1 lines)
Lines 17-24 Link Here
17
BUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
17
BUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
18
RUN_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof
18
RUN_DEPENDS=	lsof:${PORTSDIR}/sysutils/lsof
19
19
20
USES=		bison gettext gmake libtool:build
20
USES=		bison gettext ghostscript:build gmake libtool:build
21
USE_GHOSTSCRIPT_BUILD=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	ac_cv_header_linux_kd_h=no
22
CONFIGURE_ENV=	ac_cv_header_linux_kd_h=no
24
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
(-)editors/ted/Makefile (-2 / +1 lines)
Lines 26-33 Link Here
26
WRKSRC=		${WRKDIR}/Ted-${PORTVERSION}
26
WRKSRC=		${WRKDIR}/Ted-${PORTVERSION}
27
27
28
USE_XORG=	xext xft
28
USE_XORG=	xext xft
29
USES=		iconv
29
USES=		ghostscript:run iconv
30
USE_GHOSTSCRIPT_RUN=	yes
31
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
32
MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
31
MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \
33
		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \
32
		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \
(-)editors/texmaker/Makefile (-2 / +1 lines)
Lines 13-20 Link Here
13
13
14
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler
14
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler
15
15
16
USES=		desktop-file-utils pkgconfig qmake tar:bzip2
16
USES=		desktop-file-utils ghostscript:run pkgconfig qmake tar:bzip2
17
USE_GHOSTSCRIPT_RUN=	yes
18
_USE_QT4=	gui network xml webkit \
17
_USE_QT4=	gui network xml webkit \
19
		moc_build rcc_build uic_build
18
		moc_build rcc_build uic_build
20
_USE_QT5=	concurrent network printsupport script webkit widgets \
19
_USE_QT5=	concurrent network printsupport script webkit widgets \
(-)editors/texstudio/Makefile (-2 / +2 lines)
Lines 12-20 Link Here
12
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler \
12
LIB_DEPENDS=	libpoppler.so:${PORTSDIR}/graphics/poppler \
13
		libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
13
		libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
14
14
15
USES=		desktop-file-utils dos2unix execinfo pkgconfig qmake
15
USES=		desktop-file-utils dos2unix execinfo ghostscript:run \
16
		pkgconfig qmake
16
DOS2UNIX_FILES=	${PORTNAME}.pro
17
DOS2UNIX_FILES=	${PORTNAME}.pro
17
USE_GHOSTSCRIPT_RUN=	yes
18
USE_QT4=	gui network script svg xml iconengines_run \
18
USE_QT4=	gui network script svg xml iconengines_run \
19
		designer_build moc_build rcc_build uic_build
19
		designer_build moc_build rcc_build uic_build
20
USE_TEX=	latex dvipsk
20
USE_TEX=	latex dvipsk
(-)graphics/GraphicsMagick/Makefile (-2 / +1 lines)
Lines 21-29 Link Here
21
21
22
PORTSCOUT=	limit:^1\.3\.
22
PORTSCOUT=	limit:^1\.3\.
23
23
24
USES=		iconv jpeg libtool tar:bzip2
24
USES=		ghostscript iconv jpeg libtool tar:bzip2
25
USE_GNOME=	libxml2
25
USE_GNOME=	libxml2
26
USE_GHOSTSCRIPT=yes
27
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
28
CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
27
CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
29
CONFIGURE_ARGS=	--without-perl --enable-shared --enable-static \
28
CONFIGURE_ARGS=	--without-perl --enable-shared --enable-static \
(-)graphics/ImageMagick/Makefile (-3 / +7 lines)
Lines 219-225 Link Here
219
219
220
.if ${PORT_OPTIONS:MGSLIB}
220
.if ${PORT_OPTIONS:MGSLIB}
221
CONFIGURE_ARGS+=	--with-gslib
221
CONFIGURE_ARGS+=	--with-gslib
222
USE_GHOSTSCRIPT=	yes
222
. if ${PORT_OPTIONS:MX11}
223
USES+=		ghostscript
224
. else
225
USES+=		ghostscript:nox11
226
. endif
223
.else
227
.else
224
CONFIGURE_ARGS+=	--without-gslib
228
CONFIGURE_ARGS+=	--without-gslib
225
.endif
229
.endif
Lines 352-358 Link Here
352
356
353
# PDF (Adobe Portable Document Format) support
357
# PDF (Adobe Portable Document Format) support
354
.if ${PORT_OPTIONS:MPDF}
358
.if ${PORT_OPTIONS:MPDF}
355
USE_GHOSTSCRIPT=	yes
359
USES+=			ghostscript
356
.endif
360
.endif
357
361
358
.if ! ${PORT_OPTIONS:MX11}
362
.if ! ${PORT_OPTIONS:MX11}
Lines 375-381 Link Here
375
.endif
379
.endif
376
380
377
.if ${PORT_OPTIONS:MTESTS}
381
.if ${PORT_OPTIONS:MTESTS}
378
USE_GHOSTSCRIPT_BUILD=yes
382
USES+=		ghostscript:build
379
.endif
383
.endif
380
384
381
post-patch:
385
post-patch:
(-)graphics/cinepaint/Makefile (-3 / +2 lines)
Lines 25-35 Link Here
25
PRINT_DESC=	Gutenprint (gimp-print) plugin
25
PRINT_DESC=	Gutenprint (gimp-print) plugin
26
26
27
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
28
USES=		autoreconf desktop-file-utils gettext gmake jpeg libtool \
28
USES=		autoreconf desktop-file-utils gettext ghostscript:run  
29
		pkgconfig python
29
		gmake jpeg libtool pkgconfig python
30
USE_XORG=	xmu
30
USE_XORG=	xmu
31
USE_GNOME=	gtk20
31
USE_GNOME=	gtk20
32
USE_GHOSTSCRIPT_RUN=yes
33
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
34
INSTALL_TARGET=	install-strip
33
INSTALL_TARGET=	install-strip
35
34
(-)graphics/eps2png/Makefile (-2 / +1 lines)
Lines 11-18 Link Here
11
MAINTAINER=	perl@FreeBSD.org
11
MAINTAINER=	perl@FreeBSD.org
12
COMMENT=	Converts EPS images to PNG
12
COMMENT=	Converts EPS images to PNG
13
13
14
USE_GHOSTSCRIPT=	yes
14
USES=		ghostscript perl5
15
USES=		perl5
16
USE_PERL5=	configure
15
USE_PERL5=	configure
17
MAKE_ARGS=	INSTLLSCRIPT="${PREFIX}/bin"
16
MAKE_ARGS=	INSTLLSCRIPT="${PREFIX}/bin"
18
17
(-)graphics/epstool/Makefile (-3 / +1 lines)
Lines 12-20 Link Here
12
12
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
USE_GHOSTSCRIPT_RUN=	yes
15
USES=		ghostscript:run gmake
16
17
USES=		gmake
18
MAKEFILE=	makefile
16
MAKEFILE=	makefile
19
MAKE_ARGS=	MAKE="${MAKE_CMD}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
17
MAKE_ARGS=	MAKE="${MAKE_CMD}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
20
		CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
18
		CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
(-)graphics/gimp-app/Makefile (-1 / +1 lines)
Lines 93-99 Link Here
93
.endif
93
.endif
94
94
95
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
95
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
96
USE_GHOSTSCRIPT=	yes
96
USES+=			ghostscript
97
CONFIGURE_ARGS+=	--with-gs
97
CONFIGURE_ARGS+=	--with-gs
98
PLIST_SUB+=		GS=""
98
PLIST_SUB+=		GS=""
99
.else
99
.else
(-)graphics/imgtops/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
15
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
17
17
18
USES=			python
18
USES=			ghostscript:run python
19
USE_GHOSTSCRIPT_RUN=	yes
20
USE_PYTHON=		distutils
19
USE_PYTHON=		distutils
21
20
22
post-install:
21
post-install:
(-)graphics/impressive/Makefile (-2 / +1 lines)
Lines 21-28 Link Here
21
		mplayer:${PORTSDIR}/multimedia/mplayer \
21
		mplayer:${PORTSDIR}/multimedia/mplayer \
22
		${PYGAME}
22
		${PYGAME}
23
23
24
USES=		python
24
USES=		ghostscript:run python
25
USE_GHOSTSCRIPT_RUN=	yes
26
NO_BUILD=	yes
25
NO_BUILD=	yes
27
PLIST_FILES=	bin/${PORTNAME} \
26
PLIST_FILES=	bin/${PORTNAME} \
28
		man/man1/${PORTNAME}.1.gz
27
		man/man1/${PORTNAME}.1.gz
(-)graphics/klatexformula/Makefile (-2 / +2 lines)
Lines 10-20 Link Here
10
10
11
BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man
11
BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man
12
12
13
USES=		cmake:outsource desktop-file-utils shared-mime-info
13
USES=		cmake:outsource desktop-file-utils ghostscript:run \
14
		shared-mime-info
14
USE_QT4=	gui xml dbus designer_build linguisttools_build \
15
USE_QT4=	gui xml dbus designer_build linguisttools_build \
15
		qmake_build moc_build rcc_build uic_build
16
		qmake_build moc_build rcc_build uic_build
16
USE_TEX=	latex dvipsk
17
USE_TEX=	latex dvipsk
17
USE_GHOSTSCRIPT_RUN=	yes
18
CMAKE_ARGS=	-DQT_QMAKE_EXECUTABLE_FINDQT=${QMAKE} \
18
CMAKE_ARGS=	-DQT_QMAKE_EXECUTABLE_FINDQT=${QMAKE} \
19
		-DKLF_BUILD_KTEXTEDITORPLUGIN=off \
19
		-DKLF_BUILD_KTEXTEDITORPLUGIN=off \
20
		-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \
20
		-DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \
(-)graphics/ocaml-images/Makefile (-4 / +1 lines)
Lines 57-62 Link Here
57
FREETYPE_LIB_DEPENDS=	libttf.so:${PORTSDIR}/print/freetype
57
FREETYPE_LIB_DEPENDS=	libttf.so:${PORTSDIR}/print/freetype
58
58
59
GHOSTSCRIPT_CONFIGURE_WITH= gs
59
GHOSTSCRIPT_CONFIGURE_WITH= gs
60
GHOSTSCRIPT_USES=	ghostscript
60
61
61
GTK2_CONFIGURE_WITH=	liblgtk2
62
GTK2_CONFIGURE_WITH=	liblgtk2
62
GTK2_BUILD_DEPENDS=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
63
GTK2_BUILD_DEPENDS=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
Lines 68-77 Link Here
68
USE_XORG=	xpm
69
USE_XORG=	xpm
69
.endif
70
.endif
70
71
71
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
72
USE_GHOSTSCRIPT=	yes
73
.endif
74
75
do-configure:
72
do-configure:
76
	@(cd ${WRKSRC} && ${REINPLACE_CMD} ${OMAKESUBS} OMakefile)
73
	@(cd ${WRKSRC} && ${REINPLACE_CMD} ${OMAKESUBS} OMakefile)
77
	(cd ${WRKSRC} && ${OMAKE} ${OMARGS} configure)
74
	(cd ${WRKSRC} && ${OMAKE} ${OMARGS} configure)
(-)graphics/ocrfeeder/Makefile (-2 / +2 lines)
Lines 24-32 Link Here
24
24
25
NO_ARCH=	yes
25
NO_ARCH=	yes
26
26
27
USES=		desktop-file-utils gettext gmake pkgconfig python tar:xz
27
USES=		desktop-file-utils gettext ghostscript gmake pkgconfig \
28
		python tar:xz
28
USE_GNOME=	gnomedocutils gtk30 librsvg2 pygobject3
29
USE_GNOME=	gnomedocutils gtk30 librsvg2 pygobject3
29
USE_GHOSTSCRIPT=yes
30
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
31
CONFIGURE_ARGS=	--disable-silent-rules
31
CONFIGURE_ARGS=	--disable-silent-rules
32
32
(-)graphics/peps/Makefile (-1 / +1 lines)
Lines 11-17 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Converts EPS images to anti-aliased bitmaps
12
COMMENT=	Converts EPS images to anti-aliased bitmaps
13
13
14
USE_GHOSTSCRIPT_RUN=	yes
14
USES=		ghostscript:run
15
MAKE_ENV=	GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
15
MAKE_ENV=	GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
16
		ETC="${PREFIX}/etc"
16
		ETC="${PREFIX}/etc"
17
17
(-)graphics/pstoedit/Makefile (-2 / +1 lines)
Lines 14-21 Link Here
14
14
15
LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
15
LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
16
16
17
USES=		pathfix pkgconfig libtool
17
USES=		ghostscript pathfix pkgconfig libtool
18
USE_GHOSTSCRIPT=	yes
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
19
MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
(-)graphics/pstoepsi/Makefile (-1 / +1 lines)
Lines 15-21 Link Here
15
15
16
RUN_DEPENDS=	pbmtoepsi:${PORTSDIR}/graphics/netpbm
16
RUN_DEPENDS=	pbmtoepsi:${PORTSDIR}/graphics/netpbm
17
17
18
USE_GHOSTSCRIPT_RUN=	yes
18
USES=		ghostscript:run
19
NO_WRKSUBDIR=	yes
19
NO_WRKSUBDIR=	yes
20
20
21
pre-patch:
21
pre-patch:
(-)graphics/py-chart/Makefile (-2 / +1 lines)
Lines 14-21 Link Here
14
14
15
LICENSE=	GPLv2
15
LICENSE=	GPLv2
16
16
17
USE_GHOSTSCRIPT_RUN=	yes
18
USE_PYTHON=	distutils autoplist
17
USE_PYTHON=	distutils autoplist
19
USES=		python:2.7
18
USES=		ghostscript:run python:2.7
20
19
21
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)graphics/sam2p/Makefile (-2 / +1 lines)
Lines 17-26 Link Here
17
17
18
OPTIONS_DEFINE=	DOCS EXAMPLES
18
OPTIONS_DEFINE=	DOCS EXAMPLES
19
19
20
USES=		gmake jpeg:run perl5
20
USES=		ghostscript:run gmake jpeg:run perl5
21
USE_PERL5=	build
21
USE_PERL5=	build
22
USE_GCC=	any
22
USE_GCC=	any
23
USE_GHOSTSCRIPT_RUN=	yes
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
CONFIGURE_ENV=	ac_cv_path_pts_bash="${SH}"
24
CONFIGURE_ENV=	ac_cv_path_pts_bash="${SH}"
26
CONFIGURE_ARGS=	--enable-gif
25
CONFIGURE_ARGS=	--enable-gif
(-)graphics/xournal/Makefile (-4 / +2 lines)
Lines 24-29 Link Here
24
GHOSTSCRIPT_DESC=	Install ghostscript (PS/PDF as bitmap bg)
24
GHOSTSCRIPT_DESC=	Install ghostscript (PS/PDF as bitmap bg)
25
OPTIONS_DEFAULT=	GHOSTSCRIPT
25
OPTIONS_DEFAULT=	GHOSTSCRIPT
26
26
27
GHOSTSCRIPT_USES=	ghostscript:run
28
27
PORTDOCS_MAIN=	AUTHORS \
29
PORTDOCS_MAIN=	AUTHORS \
28
		ChangeLog \
30
		ChangeLog \
29
		COPYING \
31
		COPYING \
Lines 64-73 Link Here
64
66
65
.include <bsd.port.options.mk>
67
.include <bsd.port.options.mk>
66
68
67
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
68
USE_GHOSTSCRIPT_RUN=	yes
69
.endif
70
71
post-patch:
69
post-patch:
72
	@${REINPLACE_CMD} \
70
	@${REINPLACE_CMD} \
73
		-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \
71
		-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \
(-)graphics/xpaint/Makefile (-2 / +1 lines)
Lines 21-29 Link Here
21
		bash:${PORTSDIR}/shells/bash
21
		bash:${PORTSDIR}/shells/bash
22
22
23
USE_XORG=	xft xmu xpm
23
USE_XORG=	xft xmu xpm
24
USE_GHOSTSCRIPT_RUN=yes
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
26
USES=		jpeg libtool:build shebangfix tar:bzip2
25
USES=		ghostscript:run jpeg libtool:build shebangfix tar:bzip2
27
SHEBANG_FILES=	share/bin/imgmerge share/bin/xpaint_ocr
26
SHEBANG_FILES=	share/bin/imgmerge share/bin/xpaint_ocr
28
27
29
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
28
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
(-)mail/claws-mail-pdf_viewer/Makefile (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
LIB_DEPENDS=	libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
9
LIB_DEPENDS=	libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
10
10
11
USE_GHOSTSCRIPT=yes
11
USES+=		ghostscript
12
12
13
CLAWS_PLUGINS_BUILD=	pdf_viewer
13
CLAWS_PLUGINS_BUILD=	pdf_viewer
14
14
(-)mail/courier/Makefile (-1 / +1 lines)
Lines 189-195 Link Here
189
.endif
189
.endif
190
190
191
.if ${PORT_OPTIONS:MSENDFAX}
191
.if ${PORT_OPTIONS:MSENDFAX}
192
USE_GHOSTSCRIPT=yes
192
USES+=		ghostscript
193
SENDFAX_DEPENDS=sendfax:${PORTSDIR}/comms/mgetty+sendfax \
193
SENDFAX_DEPENDS=sendfax:${PORTSDIR}/comms/mgetty+sendfax \
194
		pnmscale:${PORTSDIR}/graphics/netpbm
194
		pnmscale:${PORTSDIR}/graphics/netpbm
195
BUILD_DEPENDS+=	${SENDFAX_DEPENDS}
195
BUILD_DEPENDS+=	${SENDFAX_DEPENDS}
(-)math/R/Makefile (-1 / +1 lines)
Lines 196-202 Link Here
196
.else # LIBR_SLAVEPORT
196
.else # LIBR_SLAVEPORT
197
197
198
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
198
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
199
USE_GHOSTSCRIPT_RUN=	yes
199
USES+=			ghostscript
200
.endif
200
.endif
201
201
202
.if ${PORT_OPTIONS:MJPEG}
202
.if ${PORT_OPTIONS:MJPEG}
(-)math/asymptote/Makefile (-2 / +1 lines)
Lines 34-42 Link Here
34
34
35
ONLY_FOR_ARCHS=	i386 amd64
35
ONLY_FOR_ARCHS=	i386 amd64
36
36
37
USES=		gmake perl5 python tar:tgz
37
USES=		ghostscript gmake perl5 python tar:tgz
38
USE_AUTOTOOLS=	autoconf aclocal
38
USE_AUTOTOOLS=	autoconf aclocal
39
USE_GHOSTSCRIPT=yes
40
USE_GL=	glut
39
USE_GL=	glut
41
USE_PERL5=	build
40
USE_PERL5=	build
42
USE_TEX=	dvipsk formats
41
USE_TEX=	dvipsk formats
(-)math/plplot/Makefile (-2 / +1 lines)
Lines 22-29 Link Here
22
22
23
USE_GNOME=	pango
23
USE_GNOME=	pango
24
USE_PERL5=	build
24
USE_PERL5=	build
25
USE_GHOSTSCRIPT=yes
25
USES=		cmake ghostscript gmake perl5 pkgconfig
26
USES=		cmake gmake perl5 pkgconfig
27
CMAKE_ARGS=	-DENABLE_java:BOOL=OFF \
26
CMAKE_ARGS=	-DENABLE_java:BOOL=OFF \
28
		-DENABLE_octave:BOOL=OFF \
27
		-DENABLE_octave:BOOL=OFF \
29
		-DENABLE_pdl:BOOL=OFF \
28
		-DENABLE_pdl:BOOL=OFF \
(-)misc/pspresent/Makefile (-1 / +1 lines)
Lines 13-19 Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
USE_XORG=	x11 xext xinerama
15
USE_XORG=	x11 xext xinerama
16
USE_GHOSTSCRIPT_RUN=	yes
16
USES=		ghostscript:run
17
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}"
17
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}"
18
ALL_TARGET=	pspresent
18
ALL_TARGET=	pspresent
19
19
(-)multimedia/lives/Makefile (-2 / +2 lines)
Lines 41-52 Link Here
41
41
42
WRKSRC=		${WRKDIR}/${DISTNAME:tl}
42
WRKSRC=		${WRKDIR}/${DISTNAME:tl}
43
43
44
USES=		libtool pathfix perl5 pkgconfig python shebangfix tar:bzip2
44
USES=		ghostscript:run libtool pathfix perl5 pkgconfig python \
45
		shebangfix tar:bzip2
45
SHEBANG_FILES=	build-lives-rfx-plugin build-lives-rfx-plugin-multi \
46
SHEBANG_FILES=	build-lives-rfx-plugin build-lives-rfx-plugin-multi \
46
		smogrify tools/autolives.pl
47
		smogrify tools/autolives.pl
47
GNU_CONFIGURE=	yes
48
GNU_CONFIGURE=	yes
48
USE_CSTD=	gnu89
49
USE_CSTD=	gnu89
49
USE_GHOSTSCRIPT_RUN=	yes
50
USE_GNOME=	gtk30
50
USE_GNOME=	gtk30
51
USE_LDCONFIG=	yes
51
USE_LDCONFIG=	yes
52
52
(-)print/auctex/Makefile (-1 / +1 lines)
Lines 15-21 Link Here
15
15
16
NOT_FOR_ARCHS=	ia64
16
NOT_FOR_ARCHS=	ia64
17
USE_TEX=	latex
17
USE_TEX=	latex
18
USE_GHOSTSCRIPT=yes
18
USES=		ghostscript
19
USE_EMACS=	yes
19
USE_EMACS=	yes
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/${LISPDIR} \
21
CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/${LISPDIR} \
(-)print/cups-filters/Makefile (-2 / +2 lines)
Lines 23-33 Link Here
23
		libpoppler.so:${PORTSDIR}/graphics/poppler
23
		libpoppler.so:${PORTSDIR}/graphics/poppler
24
24
25
MAKE_JOBS_UNSAFE=YES
25
MAKE_JOBS_UNSAFE=YES
26
USES=		compiler:c++11-lib cpe jpeg libtool pathfix pkgconfig shebangfix tar:xz
26
USES=		compiler:c++11-lib cpe ghostscript jpeg libtool pathfix \
27
		pkgconfig shebangfix tar:xz
27
CPE_VENDOR=	linuxfoundation
28
CPE_VENDOR=	linuxfoundation
28
SHEBANG_FILES=	filter/textonly
29
SHEBANG_FILES=	filter/textonly
29
USE_GNOME=	glib20
30
USE_GNOME=	glib20
30
USE_GHOSTSCRIPT=	yes
31
USE_RC_SUBR=	cups_browsed
31
USE_RC_SUBR=	cups_browsed
32
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
33
CUPS_SOCKET?=	/var/run/cups.sock
33
CUPS_SOCKET?=	/var/run/cups.sock
(-)print/cups-fxlinuxprint/Makefile (-2 / +1 lines)
Lines 14-22 Link Here
14
14
15
LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
15
LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
16
16
17
USES=		dos2unix
17
USES=		dos2unix ghostscript:run
18
DOS2UNIX_FILES=	fxlinuxprint.ppd
18
DOS2UNIX_FILES=	fxlinuxprint.ppd
19
USE_GHOSTSCRIPT_RUN=yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib
21
LDFLAGS+=	-L${LOCALBASE}/lib
(-)print/cups-pdf/Makefile (-1 / +1 lines)
Lines 19-25 Link Here
19
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
21
21
22
USE_GHOSTSCRIPT_RUN=	yes
22
USES=		ghostscript:run
23
23
24
OPTIONS_DEFINE=		DOCS
24
OPTIONS_DEFINE=		DOCS
25
OPTIONS_DEFAULT=	DOCS
25
OPTIONS_DEFAULT=	DOCS
(-)print/cups-pstoraster/Makefile (-2 / +1 lines)
Lines 23-31 Link Here
23
23
24
DATADIR=	${PREFIX}/share/espgs
24
DATADIR=	${PREFIX}/share/espgs
25
25
26
USES=		gmake iconv tar:bzip2
27
# We just need the ghostscript fonts, nothing more
26
# We just need the ghostscript fonts, nothing more
28
USE_GHOSTSCRIPT_RUN=	yes
27
USES=		ghostscript:run gmake iconv tar:bzip2
29
GNU_CONFIGURE=		yes
28
GNU_CONFIGURE=		yes
30
CPPFLAGS+=	-I${LOCALBASE}/include
29
CPPFLAGS+=	-I${LOCALBASE}/include
31
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
(-)print/dvisvg/Makefile (-1 / +1 lines)
Lines 13-19 Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
16
USE_GHOSTSCRIPT_RUN=	yes
16
USES=		ghostscript:run
17
USE_TEX=	base texmf texhash
17
USE_TEX=	base texmf texhash
18
ALL_TARGET=	# empty
18
ALL_TARGET=	# empty
19
# workaround for svgfonts.c not including kpathsea/c-auto.h
19
# workaround for svgfonts.c not including kpathsea/c-auto.h
(-)print/epsonepl/Makefile (-2 / +1 lines)
Lines 13-20 Link Here
13
13
14
LIB_DEPENDS=	libijs.so:${PORTSDIR}/print/libijs
14
LIB_DEPENDS=	libijs.so:${PORTSDIR}/print/libijs
15
15
16
USES=		uidfix tar:tgz
16
USES=		ghostscript:run uidfix tar:tgz
17
USE_GHOSTSCRIPT_RUN=	yes
18
17
19
MAKEFILE=	${FILESDIR}/Makefile
18
MAKEFILE=	${FILESDIR}/Makefile
20
SUB_FILES=	pkg-message
19
SUB_FILES=	pkg-message
(-)print/flpsed/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
LIB_DEPENDS+=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
15
LIB_DEPENDS+=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_GHOSTSCRIPT=yes
18
USES=		desktop-file-utils ghostscript gmake
19
USES=		desktop-file-utils gmake
20
PLIST_FILES=	bin/flpsed \
19
PLIST_FILES=	bin/flpsed \
21
		man/man1/flpsed.1.gz \
20
		man/man1/flpsed.1.gz \
22
		share/applications/flpsed.desktop \
21
		share/applications/flpsed.desktop \
(-)print/font2svg/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
12
13
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
13
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
14
14
15
USE_GHOSTSCRIPT_RUN=	yes
15
USES=		ghostscript:run
16
NO_BUILD=	yes
16
NO_BUILD=	yes
17
17
18
PLIST_FILES=	bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
18
PLIST_FILES=	bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps
(-)print/foo2zjs/Makefile (-2 / +1 lines)
Lines 17-24 Link Here
17
		gsed:${PORTSDIR}/textproc/gsed
17
		gsed:${PORTSDIR}/textproc/gsed
18
18
19
PROJECTHOST=	bsdistfiles
19
PROJECTHOST=	bsdistfiles
20
USE_GHOSTSCRIPT=yes
20
USES=		ghostscript gmake shebangfix
21
USES=		gmake shebangfix
22
SHEBANG_FILES=	msexpand
21
SHEBANG_FILES=	msexpand
23
SUB_FILES=	pkg-message ${DEVDCONF_FILE}
22
SUB_FILES=	pkg-message ${DEVDCONF_FILE}
24
EXTRAFILES=	msexpand getweb
23
EXTRAFILES=	msexpand getweb
(-)print/foomatic-filters/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
15
16
LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus
16
LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus
17
17
18
USES=		autoreconf perl5 pkgconfig
18
USES=		autoreconf ghostscript perl5 pkgconfig
19
USE_GHOSTSCRIPT=yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \
20
CONFIGURE_ENV=	ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \
22
		ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \
21
		ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \
(-)print/ggv/Makefile (-3 / +2 lines)
Lines 14-22 Link Here
14
14
15
INSTALLS_OMF=	yes
15
INSTALLS_OMF=	yes
16
USE_GNOME=	gnomeprefix intlhack libgnomeui
16
USE_GNOME=	gnomeprefix intlhack libgnomeui
17
USES=		desktop-file-utils gettext gmake libtool pathfix pkgconfig \
17
USES=		desktop-file-utils gettext ghostscript gmake libtool \
18
		tar:bzip2
18
		pathfix pkgconfig tar:bzip2
19
USE_GHOSTSCRIPT=yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
22
LIBS+=		-L${LOCALBASE}/lib -lm
21
LIBS+=		-L${LOCALBASE}/lib -lm
(-)print/ghostscript7-commfont/Makefile (-1 / +1 lines)
Lines 23-29 Link Here
23
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
24
DEPENDS_ARGS+=	-DA4
24
DEPENDS_ARGS+=	-DA4
25
# set these forcibly
25
# set these forcibly
26
USE_GHOSTSCRIPT_RUN=7
26
USES=		ghostscript:7,run
27
27
28
CONFLICTS_INSTALL= \
28
CONFLICTS_INSTALL= \
29
		ghostscript8-[0-9]* \
29
		ghostscript8-[0-9]* \
(-)print/ghostscript7-jpnfont/Makefile (-1 / +1 lines)
Lines 16-22 Link Here
16
		${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont
16
		${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont
17
17
18
# set these forcibly
18
# set these forcibly
19
USE_GHOSTSCRIPT_RUN=	7
19
USES=		ghostscript:7,run
20
NO_BUILD=		yes
20
NO_BUILD=		yes
21
DEPENDS_ARGS+=		-DA4
21
DEPENDS_ARGS+=		-DA4
22
22
(-)print/ghostscript7-korfont/Makefile (-1 / +1 lines)
Lines 16-22 Link Here
16
		${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont
16
		${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont
17
17
18
# set these forcibly
18
# set these forcibly
19
USE_GHOSTSCRIPT_RUN=	7
19
USES=		ghostscript:7,run
20
NO_BUILD=		yes
20
NO_BUILD=		yes
21
DEPENDS_ARGS+=		-DA4
21
DEPENDS_ARGS+=		-DA4
22
22
(-)print/gspdf/Makefile (-2 / +1 lines)
Lines 10-18 Link Here
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Postscript and Pdf Viewer for GNUstep
11
COMMENT=	Postscript and Pdf Viewer for GNUstep
12
12
13
USES=		gnustep
13
USES=		ghostscript gnustep
14
USE_GNUSTEP=	back build
14
USE_GNUSTEP=	back build
15
USE_GHOSTSCRIPT=	yes
16
15
17
MAKE_ENV=	GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
16
MAKE_ENV=	GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
18
17
(-)print/gsview/Makefile (-2 / +1 lines)
Lines 18-26 Link Here
18
RUN_DEPENDS+=	epstool:${PORTSDIR}/graphics/epstool \
18
RUN_DEPENDS+=	epstool:${PORTSDIR}/graphics/epstool \
19
		pstotext:${PORTSDIR}/print/pstotext
19
		pstotext:${PORTSDIR}/print/pstotext
20
20
21
USES=		cpe
21
USES=		cpe ghostscript
22
USE_GNOME=	gtk12
22
USE_GNOME=	gtk12
23
USE_GHOSTSCRIPT=yes
24
23
25
MAKE_JOBS_UNSAFE=	yes
24
MAKE_JOBS_UNSAFE=	yes
26
25
(-)print/gv/Makefile (-2 / +1 lines)
Lines 13-20 Link Here
13
LIB_DEPENDS=	libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
13
LIB_DEPENDS=	libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
14
14
15
USE_XORG=	xpm ice sm xext xmu x11
15
USE_XORG=	xpm ice sm xext xmu x11
16
USE_GHOSTSCRIPT=	yes
16
USES=		cpe ghostscript iconv gmake perl5 shebangfix
17
USES=		cpe iconv gmake perl5 shebangfix
18
USE_PERL5=	build
17
USE_PERL5=	build
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
(-)print/hpijs/Makefile (-2 / +1 lines)
Lines 13-20 Link Here
13
13
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
CONFIGURE_ARGS=		--disable-dependency-tracking
15
CONFIGURE_ARGS=		--disable-dependency-tracking
16
USES=		jpeg
16
USES=		ghostscript:run jpeg
17
USE_GHOSTSCRIPT_RUN=	yes
18
17
19
CPPFLAGS+=	-I${LOCALBASE}/include
18
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
(-)print/hplip/Makefile (-2 / +2 lines)
Lines 21-28 Link Here
21
CONFLICTS_INSTALL=	hpijs-[0-9]*
21
CONFLICTS_INSTALL=	hpijs-[0-9]*
22
22
23
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
24
USES=		dos2unix jpeg libtool pkgconfig python shebangfix
24
USES=		dos2unix ghostscript:run jpeg libtool pkgconfig python \
25
USE_GHOSTSCRIPT_RUN=	yes
25
		shebangfix
26
USE_GNOME=	pygobject
26
USE_GNOME=	pygobject
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28
(-)print/html2ps/Makefile (-2 / +1 lines)
Lines 21-28 Link Here
21
		paperconf:${PORTSDIR}/print/libpaper
21
		paperconf:${PORTSDIR}/print/libpaper
22
22
23
NO_BUILD=	yes
23
NO_BUILD=	yes
24
USES=		perl5
24
USES=		ghostscript:run perl5
25
USE_GHOSTSCRIPT_RUN=	yes
26
25
27
SUB_FILES=	html2psrc
26
SUB_FILES=	html2psrc
28
27
(-)print/kpdftool/Makefile (-2 / +1 lines)
Lines 14-21 Link Here
14
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
14
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
15
15
16
USE_QT4=	qt3support moc_build porting_build uic3_build
16
USE_QT4=	qt3support moc_build porting_build uic3_build
17
USE_GHOSTSCRIPT_RUN=	yes
17
USES=		ghostscript:run qmake zip
18
USES=		qmake zip
19
18
20
DESKTOP_ENTRIES=	"KPDFTool" "${COMMENT}" "kpdftool" \
19
DESKTOP_ENTRIES=	"KPDFTool" "${COMMENT}" "kpdftool" \
21
			"kpdftool" "Qt;Utility;" true
20
			"kpdftool" "Qt;Utility;" true
(-)print/libspectre/Makefile (-2 / +1 lines)
Lines 12-21 Link Here
12
12
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
USES=		gmake libtool:keepla pathfix pkgconfig
15
USES=		gmake libtool:keepla pathfix pkgconfig ghostscript
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USE_GNOME=	cairo
17
USE_GNOME=	cairo
18
USE_GHOSTSCRIPT=yes
19
CPPFLAGS+=	-I${LOCALBASE}/include
18
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
(-)print/lilypond/Makefile (-2 / +2 lines)
Lines 47-54 Link Here
47
		lilypond-web \
47
		lilypond-web \
48
		music-glossary
48
		music-glossary
49
49
50
USES=		bison:build gettext gmake pkgconfig perl5 python:-3
50
USES=		bison:build gettext ghostscript:9 gmake pkgconfig perl5 \
51
USE_GHOSTSCRIPT=9
51
		python:-3
52
USE_TEX=	latex
52
USE_TEX=	latex
53
USE_PERL5=	build
53
USE_PERL5=	build
54
USE_GNOME=	pango
54
USE_GNOME=	pango
(-)print/lilypond-devel/Makefile (-2 / +2 lines)
Lines 47-55 Link Here
47
		lilypond-web \
47
		lilypond-web \
48
		music-glossary
48
		music-glossary
49
49
50
USES=		bison:build gettext gmake pkgconfig perl5 compiler:c++11-lib python:-3
50
USES=		bison:build gettext ghostscript:9 gmake pkgconfig perl5 \
51
		compiler:c++11-lib python:-3
51
USE_CXXSTD=	c++11
52
USE_CXXSTD=	c++11
52
USE_GHOSTSCRIPT=9
53
USE_TEX=	latex
53
USE_TEX=	latex
54
USE_PERL5=	build
54
USE_PERL5=	build
55
USE_GNOME=	pango
55
USE_GNOME=	pango
(-)print/lpr-wrapper/Makefile (-2 / +1 lines)
Lines 16-24 Link Here
16
		mpage:${PORTSDIR}/print/mpage \
16
		mpage:${PORTSDIR}/print/mpage \
17
		pstops:${PORTSDIR}/print/psutils
17
		pstops:${PORTSDIR}/print/psutils
18
18
19
USES=		shebangfix
19
USES=		ghostscript:run shebangfix
20
SHEBANG_FILES=	lpr-wrapper.in lpr-wrapper-cups.in lpr-wrapper-features
20
SHEBANG_FILES=	lpr-wrapper.in lpr-wrapper-cups.in lpr-wrapper-features
21
USE_GHOSTSCRIPT_RUN=	yes
22
HAS_CONFIGURE=	yes
21
HAS_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--prefix=${PREFIX}
22
CONFIGURE_ARGS=	--prefix=${PREFIX}
24
23
(-)print/magicfilter/Makefile (-1 / +1 lines)
Lines 10-16 Link Here
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Customizable, extensible automatic printer filter
11
COMMENT=	Customizable, extensible automatic printer filter
12
12
13
USE_GHOSTSCRIPT=	yes
13
USES=		ghostscript
14
14
15
HAS_CONFIGURE=	yes
15
HAS_CONFIGURE=	yes
16
CONFIGURE_SCRIPT=	configure.sh
16
CONFIGURE_SCRIPT=	configure.sh
(-)print/ps2eps/Makefile (-2 / +1 lines)
Lines 13-20 Link Here
13
13
14
WRKSRC=		${WRKDIR}/ps2eps
14
WRKSRC=		${WRKDIR}/ps2eps
15
15
16
USE_GHOSTSCRIPT_RUN=	yes
16
USES=		ghostscript:run perl5
17
USES=		perl5
18
USE_PERL5=	run
17
USE_PERL5=	run
19
OPTIONS_DEFINE=	DOCS
18
OPTIONS_DEFINE=	DOCS
20
19
(-)print/psdim/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
12
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
USE_GHOSTSCRIPT=yes
15
USES=		ghostscript
16
16
17
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--prefix=${PREFIX}
18
CONFIGURE_ARGS=	--prefix=${PREFIX}
(-)print/pstotext/Makefile (-1 / +1 lines)
Lines 18-24 Link Here
18
LICENSE_FILE=	${WRKSRC}/pstotext.txt
18
LICENSE_FILE=	${WRKSRC}/pstotext.txt
19
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
19
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
20
20
21
USE_GHOSTSCRIPT_RUN=	yes
21
USES=		ghostscript:run
22
22
23
SUB_LIST=	LICENSE=${LICENSE} \
23
SUB_LIST=	LICENSE=${LICENSE} \
24
		LICENSE_DIR=${_LICENSE_DIR}
24
		LICENSE_DIR=${_LICENSE_DIR}
(-)print/scribus/Makefile (-2 / +2 lines)
Lines 27-34 Link Here
27
27
28
USE_QT4=	gui linguist_build moc_build qmake_build rcc_build uic_build xml network
28
USE_QT4=	gui linguist_build moc_build qmake_build rcc_build uic_build xml network
29
USE_GNOME=	libartlgpl2 libxml2
29
USE_GNOME=	libartlgpl2 libxml2
30
USE_GHOSTSCRIPT_RUN=	yes
30
USES=		cmake desktop-file-utils ghostscript:run jpeg pkgconfig \
31
USES=		cmake desktop-file-utils jpeg pkgconfig python shared-mime-info tar:xz
31
		python shared-mime-info tar:xz
32
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
33
33
34
CMAKE_ARGS+=	-DWANT_HUNSPELL=YES -Wno-ferror-limit
34
CMAKE_ARGS+=	-DWANT_HUNSPELL=YES -Wno-ferror-limit
(-)print/texlive-base/Makefile (-2 / +1 lines)
Lines 29-37 Link Here
29
CONFLICTS_INSTALL=	texlive-texmf-201[23]*
29
CONFLICTS_INSTALL=	texlive-texmf-201[23]*
30
30
31
USE_TEX=	web2c kpathsea ptexenc texhash-bootstrap
31
USE_TEX=	web2c kpathsea ptexenc texhash-bootstrap
32
USES=		gmake pkgconfig perl5 shebangfix tar:xz
32
USES=		ghostscript gmake pkgconfig perl5 shebangfix tar:xz
33
USE_AUTOTOOLS=	autoconf
33
USE_AUTOTOOLS=	autoconf
34
USE_GHOSTSCRIPT=yes
35
USE_PERL5=	run
34
USE_PERL5=	run
36
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
37
# during build phase gnu configure is run a lot
36
# during build phase gnu configure is run a lot
(-)print/texvc/Makefile (-1 / +1 lines)
Lines 24-30 Link Here
24
.include <bsd.port.options.mk>
24
.include <bsd.port.options.mk>
25
25
26
.if ${PORT_OPTIONS:MRASTER}
26
.if ${PORT_OPTIONS:MRASTER}
27
USE_GHOSTSCRIPT_RUN=	yes
27
USES+=		ghostscript:run
28
USE_TEX=	latex dvipsk
28
USE_TEX=	latex dvipsk
29
RUN_DEPENDS+=	convert:${PORTSDIR}/graphics/ImageMagick
29
RUN_DEPENDS+=	convert:${PORTSDIR}/graphics/ImageMagick
30
.endif
30
.endif
(-)print/transfig/Makefile (-2 / +1 lines)
Lines 14-22 Link Here
14
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
14
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
15
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
15
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
16
16
17
USES=		alias imake
17
USES=		alias ghostscript:run imake
18
CFLAGS+=	-Wno-return-type
18
CFLAGS+=	-Wno-return-type
19
USE_GHOSTSCRIPT_RUN=	yes
20
USE_XORG=	xpm
19
USE_XORG=	xpm
21
20
22
MAKE_ARGS+=	INSTALLFLAGS="${COPY}" \
21
MAKE_ARGS+=	INSTALLFLAGS="${COPY}" \
(-)sysutils/LPRngTool/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
BUILD_DEPENDS=	a2ps:${PORTSDIR}/print/a2ps \
15
BUILD_DEPENDS=	a2ps:${PORTSDIR}/print/a2ps \
16
		mpage:${PORTSDIR}/print/mpage
16
		mpage:${PORTSDIR}/print/mpage
17
17
18
USES=		tar:tgz tk
18
USES=		ghostscript:build tar:tgz tk
19
USE_GHOSTSCRIPT_BUILD=	yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	ac_cv_path_WISH=${WISH}
20
CONFIGURE_ENV=	ac_cv_path_WISH=${WISH}
22
CONFIGURE_ARGS=	--with-spool_directory=/var/spool/lpd
21
CONFIGURE_ARGS=	--with-spool_directory=/var/spool/lpd
(-)textproc/docproj/Makefile (-2 / +1 lines)
Lines 28-36 Link Here
28
		p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser \
28
		p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser \
29
		zip:${PORTSDIR}/archivers/zip
29
		zip:${PORTSDIR}/archivers/zip
30
30
31
USES=		perl5
31
USES=		ghostscript:run perl5
32
USE_PERL5=	run
32
USE_PERL5=	run
33
USE_GHOSTSCRIPT_RUN=	yes
34
DEPENDS_ARGS+=	BATCH=yes
33
DEPENDS_ARGS+=	BATCH=yes
35
NO_BUILD=	yes
34
NO_BUILD=	yes
36
35
(-)textproc/groff/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
BUILD_DEPENDS=	${LOCALBASE}/bin/psselect:${PORTSDIR}/print/psutils
15
BUILD_DEPENDS=	${LOCALBASE}/bin/psselect:${PORTSDIR}/print/psutils
16
RUN_DEPENDS:=	${BUILD_DEPENDS}
16
RUN_DEPENDS:=	${BUILD_DEPENDS}
17
17
18
USE_GHOSTSCRIPT=yes
18
USES=		cpe ghostscript gmake perl5 shebangfix
19
USES=		cpe gmake perl5 shebangfix
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS+=	--with-awk=/usr/bin/awk
20
CONFIGURE_ARGS+=	--with-awk=/usr/bin/awk
22
CONFIGURE_ENV+=	PERLPATH=${perl_CMD} # shebangfix
21
CONFIGURE_ENV+=	PERLPATH=${perl_CMD} # shebangfix
(-)textproc/latex2html/Makefile (-2 / +1 lines)
Lines 15-22 Link Here
15
15
16
CONFLICTS=	ja-latex2html-[0-9]*
16
CONFLICTS=	ja-latex2html-[0-9]*
17
17
18
USES=		perl5
18
USES=		ghostscript perl5
19
USE_GHOSTSCRIPT=yes
20
USE_TEX=	latex dvipsk texhash
19
USE_TEX=	latex dvipsk texhash
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--with-perl=${PERL} \
21
CONFIGURE_ARGS=	--with-perl=${PERL} \
(-)textproc/pdftohtml/Makefile (-2 / +1 lines)
Lines 10-17 Link Here
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Command-line tool for converting pdf-files into html
11
COMMENT=	Command-line tool for converting pdf-files into html
12
12
13
USES=		gmake
13
USES=		ghostscript gmake
14
USE_GHOSTSCRIPT_RUN=	yes
15
14
16
PLIST_FILES=	bin/pdf-to-html
15
PLIST_FILES=	bin/pdf-to-html
17
16
(-)textproc/prosper/Makefile (-1 / +1 lines)
Lines 14-20 Link Here
14
COMMENT=	LaTeX class for writing transparencies
14
COMMENT=	LaTeX class for writing transparencies
15
15
16
NO_BUILD=	yes
16
NO_BUILD=	yes
17
USE_GHOSTSCRIPT_RUN=	yes
17
USES=		ghostscript:run
18
USE_TEX=	latex
18
USE_TEX=	latex
19
MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
19
MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
20
20
(-)textproc/sowing/Makefile (-2 / +1 lines)
Lines 12-19 Link Here
12
BUILD_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
12
BUILD_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
13
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
13
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
14
14
15
USES=		gmake perl5
15
USES=		ghostscript gmake perl5
16
USE_GHOSTSCRIPT=yes
17
USE_TEX=	latex dvipsk
16
USE_TEX=	latex dvipsk
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--datadir=${DATADIR}
18
CONFIGURE_ARGS=	--datadir=${DATADIR}
(-)textproc/tth/Makefile (-2 / +1 lines)
Lines 14-21 Link Here
14
14
15
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
15
RUN_DEPENDS=	ppmtogif:${PORTSDIR}/graphics/netpbm
16
16
17
USES=		shebangfix tar:tgz
17
USES=		ghostscript:run shebangfix tar:tgz
18
USE_GHOSTSCRIPT_RUN=	yes
19
#USE_TEX=	latex
18
#USE_TEX=	latex
20
SHEBANG_FILES=	Xfonts.fix
19
SHEBANG_FILES=	Xfonts.fix
21
20
(-)x11/dgs/Makefile (-2 / +1 lines)
Lines 15-24 Link Here
15
15
16
MAKE_JOBS_UNSAFE=	yes
16
MAKE_JOBS_UNSAFE=	yes
17
17
18
USE_GHOSTSCRIPT_RUN=	yes
19
USE_XORG=	xt sm ice xext x11
18
USE_XORG=	xt sm ice xext x11
20
USE_GNOME=	glib12
19
USE_GNOME=	glib12
21
USES=		gmake jpeg libtool makeinfo
20
USES=		ghostscript:run gmake jpeg libtool makeinfo
22
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
24
WRKSRC=		${WRKDIR}/${PORTNAME}-0.5.9
23
WRKSRC=		${WRKDIR}/${PORTNAME}-0.5.9

Return to bug 201201