Skip to content

Commit

Permalink
* print/ghostscript-* and related ports have been renamed in the
Browse files Browse the repository at this point in the history
  following way:

	print/ghostscript-gnu -> print/ghostscript7
	print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
	print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
	print/ghostscript-gpl -> print/ghostscript8
	print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
	japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
	korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont

* USE_GHOSTSCRIPT now supports a version number which the port
  requires.  The valid value is "7" or "8".  If other value is
  specified, value of WITH_GHOSTSCRIPT_VER is used.

* WITH_GHOSTSCRIPT_GNU has been removed in favor of
  WITH_GHOSTSCRIPT_VER.  The valid value of WITH_GHOSTSCRIPT_VER is
  "7" or "8", and the default value is "8".

Approved by:	portmgr (pav)
  • Loading branch information
hrs-allbsd committed Sep 5, 2008
1 parent 4e3c6cd commit 6e0909e
Show file tree
Hide file tree
Showing 117 changed files with 80 additions and 9,246 deletions.
22 changes: 22 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,28 @@ in the release notes.

All ports committers are allowed to commit to this file.

20080905:
AUTHOR: hrs@FreeBSD.org

* print/ghostscript-* and related ports have been renamed in the
following way:

print/ghostscript-gnu -> print/ghostscript7
print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
print/ghostscript-gpl -> print/ghostscript8
print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont

* USE_GHOSTSCRIPT now supports a version number which the port
requires. The valid value is "7" or "8". If other value is
specified, value of WITH_GHOSTSCRIPT_VER is used.

* WITH_GHOSTSCRIPT_GNU has been removed in favor of
WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is
"7" or "8", and the default value is "8".

20080821:
AUTHOR: rafan@FreeBSD.org

Expand Down
7 changes: 7 additions & 0 deletions MOVED
Original file line number Diff line number Diff line change
Expand Up @@ -3591,3 +3591,10 @@ games/q3base||2008-09-01|Project gone, website defaced
editors/ooo-build||2008-09-01|Has expired: Has been broken for more than 6 months
mail/pine4|mail/alpine|2008-09-01|No further development for pine, alpine has more features and is config-compatible
editors/pico|editors/pico-alpine|2008-09-01|No further development for pine, alpine has more features and is config-compatible
print/ghostscript-gnu|print/ghostscript7|2008-09-05|Renamed for better naming
print/ghostscript-gnu-nox11|print/ghostscript7-nox11|2008-09-05|Renamed for better naming
print/ghostscript-gnu-commfont|print/ghostscript7-commfont|2008-09-05|Renamed for better naming
japanese/ghostscript-gnu-jpnfont|print/ghostscript7-jpnfont|2008-09-05|Renamed for better naming
korean/ghostscript-gnu-korfont|print/ghostscript7-korfont|2008-09-05|Renamed for better naming
print/ghostscript-gpl|print/ghostscript8|2008-09-05|Renamed for better naming
print/ghostscript-gpl-nox11|print/ghostscript8-nox11|2008-09-05|Renamed for better naming
56 changes: 44 additions & 12 deletions Mk/bsd.port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
##
# USE_GHOSTSCRIPT
# - If set, this port needs ghostscript to both
# build and run.
# build and run. If a number is specified,
# the specified version will be used.
# The valid value is '7' or '8' in that case.
# USE_GHOSTSCRIPT_BUILD
# - If set, this port needs ghostscript to build.
# USE_GHOSTSCRIPT_RUN
Expand All @@ -354,10 +356,12 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Some installations may wish to override the default
# to specify a version without X11 and/or localized
# versions for their nationality.
# Default: print/ghostscript-gpl
# WITH_GHOSTSCRIPT_GNU
# - If set, this port uses the GNU version of the ghostscript
# software instead of the GPL version, which is used otherwise.
# Default: print/ghostscript8
# WITH_GHOSTSCRIPT_VER
# - If set, the specified version of ghostscript will be
# used. The valid value is "7" or "8". Note that
# this is for users, not for port maintainers. This
# should not be used in Makefile.
##
# USE_BISON - Implies that the port uses bison in one way or another:
# 'yes' (backwards compatibility) - use bison for building
Expand Down Expand Up @@ -2044,20 +2048,48 @@ CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include

# Set the default for the installation of Postscript(TM)-
# compatible functionality.
.if !defined(WITHOUT_X11)
.if defined(WITH_GHOSTSCRIPT_GNU)
GHOSTSCRIPT_PORT?= print/ghostscript-gnu
.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
GHOSTSCRIPT_PORT?= print/ghostscript-gpl
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT}
.endif

.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[78])
_USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER}
.else
.if defined(WITH_GHOSTSCRIPT_GNU)
GHOSTSCRIPT_PORT?= print/ghostscript-gnu-nox11
_USE_GHOSTSCRIPT_DEFAULT_VER= 8
.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[78])
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[78]}
. else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
. endif
.else
GHOSTSCRIPT_PORT?= print/ghostscript-gpl-nox11
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
.endif

# Sanity check
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
. if empty(WITH_GHOSTSCRIPT_VER:M[78])
. 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}
Expand Down
1 change: 0 additions & 1 deletion japanese/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
SUBDIR += fumeikai-fpw
SUBDIR += gawk
SUBDIR += gd
SUBDIR += ghostscript-gnu-jpnfont
SUBDIR += gicq
SUBDIR += gorua
SUBDIR += gqmpeg
Expand Down
30 changes: 0 additions & 30 deletions japanese/ghostscript-gnu-jpnfont/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion japanese/ghostscript-gnu-jpnfont/pkg-descr

This file was deleted.

1 change: 0 additions & 1 deletion korean/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
SUBDIR += engdic
SUBDIR += eterm
SUBDIR += gdick
SUBDIR += ghostscript-gnu-korfont
SUBDIR += gtkcomm
SUBDIR += h2ps
SUBDIR += hanIM
Expand Down
30 changes: 0 additions & 30 deletions korean/ghostscript-gnu-korfont/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion korean/ghostscript-gnu-korfont/pkg-descr

This file was deleted.

12 changes: 7 additions & 5 deletions print/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@
SUBDIR += ft2demos
SUBDIR += gfontview
SUBDIR += ggv
SUBDIR += ghostscript-gnu
SUBDIR += ghostscript-gnu-commfont
SUBDIR += ghostscript-gnu-nox11
SUBDIR += ghostscript-gpl
SUBDIR += ghostscript-gpl-nox11
SUBDIR += ghostscript7
SUBDIR += ghostscript7-commfont
SUBDIR += ghostscript7-jpnfont
SUBDIR += ghostscript7-korfont
SUBDIR += ghostscript7-nox11
SUBDIR += ghostscript8
SUBDIR += ghostscript8-nox11
SUBDIR += ghostview
SUBDIR += gimp-gutenprint
SUBDIR += gl2ps
Expand Down
43 changes: 0 additions & 43 deletions print/ghostscript-gnu-commfont/Makefile

This file was deleted.

Loading

0 comments on commit 6e0909e

Please sign in to comment.