aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-06-01 08:51:52 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-06-01 08:51:52 +0000
commit91217bfa1b29b12ccc279650099aa4377c9525d4 (patch)
tree974984a1da05d88193c2a3930014bf40d0c4873b /print/ghostscript8
parent70e64555889321116063c724a237e9664ef57d18 (diff)
Notes
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile19
-rw-r--r--print/ghostscript8/pkg-descr6
2 files changed, 14 insertions, 11 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index a77c83e0a339..dc5b8c5ce09d 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -5,27 +5,27 @@
# $FreeBSD$
#
-PORTNAME= ghostscript
+PORTNAME= ghostscript8
PORTVERSION= 8.62
-PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs/} \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
PKGNAMESUFFIX= -gpl
+DISTNAME= ${PORTNAME:S,8$,,}-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
-DIST_SUBDIR= ${PORTNAME}
+DIST_SUBDIR= ${PORTNAME:S,8$,,}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= GPL Postscript interpreter
+MAINTAINER= doceng@FreeBSD.org
+COMMENT= Ghostscript 8.x PostScript interpreter
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
-RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
+RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME:S,8,,}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
-CONFLICTS= gambc-[0-9]* ghostscript-gnu-[0-9]* ghostscript-gnu-*-[0-9]*
+CONFLICTS= gambc-[0-9]* ghostscript7-[0-9]* ghostscript7-*-[0-9]*
USE_BZIP2= yes
USE_GMAKE= yes
@@ -53,6 +53,7 @@ PLIST_SUB= GS_VERSION="${PORTVERSION}" \
SUB_FILES= pkg-message
SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
+DATADIR= ${PREFIX}/share/${PORTNAME:S,8$,,}
OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \
FONTCONFIG "fontconfig support" on \
@@ -151,6 +152,7 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11
CONFIGURE_ARGS+=--without-x
.endif
+_ICONV_ARG= no
.if defined(WITH_GS_oprp) \
|| defined(WITH_GS_opvp)
. if defined(WITHOUT_ICONV)
@@ -159,10 +161,11 @@ CONFIGURE_ARGS+=--without-x
. undef WITH_GS_opvp
. else
USE_ICONV= yes
-CONFIGURE_ARGS+=--with-libiconv=gnu
+_ICONV_ARG= gnu
EXTRALIBS+= -liconv
. endif
.endif
+CONFIGURE_ARGS+=--with-libiconv=${_ICONV_ARG}
.if !defined(WITH_LETTERSIZE)
.if defined(A4) || defined(WITH_A4SIZE)
diff --git a/print/ghostscript8/pkg-descr b/print/ghostscript8/pkg-descr
index 7dad8244f26c..a7234ce47bc0 100644
--- a/print/ghostscript8/pkg-descr
+++ b/print/ghostscript8/pkg-descr
@@ -2,9 +2,9 @@ Ghostscript is the well-known PostScript interpreter which is available for
all common and most esoteric platforms and supports many different printers
and some displays.
-Versions entitled "GPL Ghostscript" are distributed with the GNU General
-Public License, which allows free use, and free copying and redistribution
-under certain conditions (including, in some cases, commercial distribution).
+This is distributed with the GNU General Public License, which allows
+free use, and free copying and redistribution under certain conditions
+(including, in some cases, commercial distribution).
This port includes add-on packages (not part of the official gs release)
o HP8XX driver for HP DeskJet 880C/882C/895C