From 91217bfa1b29b12ccc279650099aa4377c9525d4 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 1 Jun 2008 08:51:52 +0000 Subject: The following repocopies have been done for print/ghostscript-* reorganization: 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 and clean up Makefile of each port for the changes, and assign the maintainers to doceng@. Not hooked up to the build yet because it needs more fixes in dependent ports and bsd.port.mk. PR: ports/124157 --- print/ghostscript7-commfont/Makefile | 14 +++--- print/ghostscript7-commfont/pkg-descr | 2 +- print/ghostscript7-jpnfont/Makefile | 16 +++---- print/ghostscript7-jpnfont/pkg-descr | 2 +- print/ghostscript7-korfont/Makefile | 16 +++---- print/ghostscript7-korfont/pkg-descr | 2 +- print/ghostscript7-nox11/Makefile | 2 +- print/ghostscript7/Makefile | 88 +++++++++++++++++------------------ print/ghostscript7/Makefile.inc | 5 -- print/ghostscript7/pkg-descr | 6 +-- print/ghostscript8-nox11/Makefile | 2 +- print/ghostscript8/Makefile | 19 ++++---- print/ghostscript8/pkg-descr | 6 +-- 13 files changed, 84 insertions(+), 96 deletions(-) delete mode 100644 print/ghostscript7/Makefile.inc (limited to 'print') diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile index 4e8ecb7a3b8c..881594725863 100644 --- a/print/ghostscript7-commfont/Makefile +++ b/print/ghostscript7-commfont/Makefile @@ -5,15 +5,14 @@ # $FreeBSD$ # -PORTNAME= ghostscript-gnu-commfont +PORTNAME= ghostscript7-commfont PORTVERSION= 7.07 -PORTREVISION= 5 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty -MAINTAINER= hrs@FreeBSD.org -COMMENT= Common files for GNU Ghostscript CJK font support +MAINTAINER= doceng@FreeBSD.org +COMMENT= Common files for Ghostscript 7.x CJK font support BUILD_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps RUN_DEPENDS= ${CMAPDIR}/ac15/cid2code.txt:${PORTSDIR}/print/adobe-cmaps @@ -26,11 +25,10 @@ PLIST_SUB= GS_RESDIR="${GS_RESDIR}" PKGMESSAGE= ${WRKDIR}/pkg-message DEPENDS_ARGS+= -DA4 # set these forcibly -USE_GHOSTSCRIPT= yes -WITH_GHOSTSCRIPT_GNU= yes +USE_GHOSTSCRIPT=7 -CONFLICTS= ghostscript-gpl-[0-9]* \ - ghostscript-gpl-nox11-[0-9]* +CONFLICTS= ghostscript8-[0-9]* \ + ghostscript8-nox11-[0-9]* CMAPDIR?= ${LOCALBASE}/share/fonts/adobe-cmaps GS_RESDIR?= share/ghostscript/Resource diff --git a/print/ghostscript7-commfont/pkg-descr b/print/ghostscript7-commfont/pkg-descr index 79b844acb212..d3d9d5b79923 100644 --- a/print/ghostscript7-commfont/pkg-descr +++ b/print/ghostscript7-commfont/pkg-descr @@ -1,2 +1,2 @@ -This is a virtual CJK font set for GNU Ghostscript. These virtual fonts +This is a virtual CJK font set for Ghostscript 7.x. These virtual fonts call several TrueType Japanese/Korean/Chinese fonts as the real instances. diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index cb17a3efab99..a883755e2c81 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -5,24 +5,22 @@ # $FreeBSD$ # -PORTNAME= ghostscript-gnu-jpnfont +PORTNAME= ghostscript7-jpnfont PORTVERSION= 7.07 -PORTREVISION= 5 CATEGORIES= japanese print MASTER_SITES= # empty DISTFILES= # empty -MAINTAINER= hrs@FreeBSD.org -COMMENT= Japanese font support for GNU Ghostscript +MAINTAINER= doceng@FreeBSD.org +COMMENT= Japanese font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/ipam.ttf:${PORTSDIR}/japanese/ipa-ttfonts \ - ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript-gnu-commfont + ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont # set these forcibly -WITH_GHOSTSCRIPT_GNU= yes -USE_GHOSTSCRIPT_RUN= yes -NO_BUILD= yes -DEPENDS_ARGS+= -DA4 +USE_GHOSTSCRIPT_RUN= 7 +NO_BUILD= yes +DEPENDS_ARGS+= -DA4 do-install: @${DO_NADA} diff --git a/print/ghostscript7-jpnfont/pkg-descr b/print/ghostscript7-jpnfont/pkg-descr index 0cfe0eb875d4..cd4b7df2fb2d 100644 --- a/print/ghostscript7-jpnfont/pkg-descr +++ b/print/ghostscript7-jpnfont/pkg-descr @@ -1 +1 @@ -This is a meta package to add Japanese font support to GNU Ghostscript. +This is a meta package to add Japanese font support to Ghostscript 7.x. diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile index 06eca1b4794a..30d2cfcfb463 100644 --- a/print/ghostscript7-korfont/Makefile +++ b/print/ghostscript7-korfont/Makefile @@ -5,24 +5,22 @@ # $FreeBSD$ # -PORTNAME= ghostscript-gnu-korfont +PORTNAME= ghostscript7-korfont PORTVERSION= 7.07 -PORTREVISION= 3 CATEGORIES= korean print MASTER_SITES= # empty DISTFILES= # empty -MAINTAINER= hrs@FreeBSD.org -COMMENT= Korean font support for GNU Ghostscript +MAINTAINER= doceng@FreeBSD.org +COMMENT= Korean font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:${PORTSDIR}/korean/munhwafonts-cid \ - ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript-gnu-commfont + ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont # set these forcibly -WITH_GHOSTSCRIPT_GNU= yes -USE_GHOSTSCRIPT_RUN= yes -NO_BUILD= yes -DEPENDS_ARGS+= -DA4 +USE_GHOSTSCRIPT_RUN= 7 +NO_BUILD= yes +DEPENDS_ARGS+= -DA4 do-install: @${DO_NADA} diff --git a/print/ghostscript7-korfont/pkg-descr b/print/ghostscript7-korfont/pkg-descr index 8de62f2138fa..a3ff2ece3905 100644 --- a/print/ghostscript7-korfont/pkg-descr +++ b/print/ghostscript7-korfont/pkg-descr @@ -1 +1 @@ -This is a meta package to add Korean font support to GNU Ghostscript. +This is a meta package to add Korean font support to Ghostscript 7.x. diff --git a/print/ghostscript7-nox11/Makefile b/print/ghostscript7-nox11/Makefile index 957aa6522b20..f7dbc665fc4f 100644 --- a/print/ghostscript7-nox11/Makefile +++ b/print/ghostscript7-nox11/Makefile @@ -7,6 +7,6 @@ WITHOUT_X11= yes -MASTERDIR= ${.CURDIR}/../ghostscript-gnu +MASTERDIR= ${.CURDIR}/../ghostscript7 .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index 48235a4ef06e..3b9389e34df6 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -5,10 +5,8 @@ # $FreeBSD$ # -PORTNAME= ghostscript -PORTVERSION= ${GS_VERSION} -PORTREVISION= ${GS_REVISION} -PORTEPOCH= ${GS_EPOCH} +PORTNAME= ghostscript7 +PORTVERSION= 7.07 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gprint,bjc250/} \ http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \ @@ -23,14 +21,14 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gprint,bjc250/} \ http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ http://www.linuxprinting.org/download/printing/:lxm3200 \ http://homepage.powerup.com.au/~pbwest/lexmark/:lx5000 \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${GS_VERSION:S/.//}/:gs_srcs + ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs MASTER_SITE_SUBDIR= ghostscript/:gs_srcs,ports_jp_gs \ gimp-print/:gprint \ bjc250gs/:bjc250 \ ./:ports_jp \ arved/:eplaser -PKGNAMESUFFIX= -gnu -DISTFILES= ${GS_SRCS}:gs_srcs \ +DISTNAME= ${PORTNAME:S,7$,,}-${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs \ ${HP8XX_SRCS}:hp8xx \ ${PCL3_SRCS}:pcl3 \ ${DJ970_SRCS}:dj970 \ @@ -50,10 +48,10 @@ DISTFILES= ${GS_SRCS}:gs_srcs \ ${LX5000_SRCS}:lx5000 \ ${LEX7000_SRCS}:lx5000 DIST_SUBDIR= ghostscript -EXTRACT_ONLY= ${GS_SRCS} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org -COMMENT= GNU Postscript interpreter +MAINTAINER= doceng@FreeBSD.org +COMMENT= Ghostscript 7.x PostScript interpreter LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png @@ -61,14 +59,15 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} +DATADIR= ${PREFIX}/share/${PORTNAME:S,7$,,} -CONFLICTS= gambc-* ghostscript-gpl-* +CONFLICTS= gambc-* ghostscript8-* USE_BZIP2= yes USE_GMAKE= yes MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" -PLIST_SUB= GS_VERSION="${GS_VERSION}" +PLIST_SUB= GS_VERSION="${PORTVERSION}" SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \ WITHOUT_X11="${WITHOUT_X11}" \ @@ -93,10 +92,10 @@ XCFLAGS+= -DA4 .if defined(WITHOUT_X11) PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -CONFLICTS+= ghostscript-gnu-[0-9]* +CONFLICTS+= ghostscript7-[0-9]* .else USE_XORG= xt xext -CONFLICTS+= ghostscript-gnu-nox11-* +CONFLICTS+= ghostscript7-nox11-[0-9]* .endif .if defined(WITH_SVGALIB) @@ -117,8 +116,6 @@ ALL_TARGET= all pcl3opts PLIST_SUB+= SHLIB="@comment " .endif -GS_SRCS= ${DISTNAME}${EXTRACT_SUFX} - # Additional Drivers: # HP8XX - additional driver for HP DeskJet 812C/815C/832C/880C/882C/895C @@ -244,7 +241,6 @@ LEX7000_SRCS= gs6.0.lexmark7000.patch CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp -.include "Makefile.inc" .include .SILENT: @@ -344,7 +340,7 @@ post-patch: ${WRKSRC}/lib/gs_res.ps # for DMPRT driver ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \ - s|%%GS_VERSION%%|${GS_VERSION}|g' \ + s|%%PORTVERSION%%|${PORTVERSION}|g' \ ${WRKSRC}/src/dmp_site.ps # here we apply the modifications necessary to build the 3rd party drivers @@ -532,7 +528,7 @@ post-install: .endfor # other pcl3 stuff, which might be interesting for runtime ${ECHO_MSG} ">>> creating ${PCL3} destdir ..." - ${MKDIR} ${DATADIR}/${GS_VERSION}/${PCL3} + ${MKDIR} ${DATADIR}/${PORTVERSION}/${PCL3} ${ECHO_MSG} ">>> installing files in ${PCL3} destdir ..." .for i in NEWS BUGS README lib/example.mcf lib/if-pcl3 ps/calign.ps \ ps/dumppdd.ps ps/levels-test.ps ps/margins-A4.ps \ @@ -540,13 +536,13 @@ post-install: ps/margins-EnvDLRotated.ps ps/margins-Letter.ps \ ps/margins-LetterRotated.ps ${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \ - ${DATADIR}/${GS_VERSION}/${PCL3} + ${DATADIR}/${PORTVERSION}/${PCL3} .endfor # for DMPRT driver ${ECHO_MSG} ">>> installing ${DMPRT} resources ..." .for i in dmp_init.ps dmp_site.ps escp_24.src ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DATADIR}/${GS_VERSION}/lib + ${DATADIR}/${PORTVERSION}/lib .endfor # for EPAG driver ${ECHO_MSG} ">>> installing ${EPAG} utility in bindir ..." @@ -555,94 +551,94 @@ post-install: ${ECHO_MSG} ">>> installing contributed UPP profiles ..." .for i in ${CONTRIB_UPP} ${INSTALL_DATA} ${FILESDIR}/${i} \ - ${DATADIR}/${GS_VERSION}/lib + ${DATADIR}/${PORTVERSION}/lib .endfor # # now NOPORTDOCS dependend stuff # .if !defined(NOPORTDOCS) ${ECHO_MSG} ">>> installing PORTDOC stuff ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION} + ${MKDIR} ${DOCSDIR}/${PORTVERSION} # for PCL3 driver ${ECHO_MSG} ">>> installing ${PCL3} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${PCL3} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${PCL3} .for i in NEWS doc/gs-pcl3.html doc/how-to-report.txt doc/pcl3opts.html ${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${PCL3} + ${DOCSDIR}/${PORTVERSION}/${PCL3} .endfor # for MD2K driver ${ECHO_MSG} ">>> installing ${MD2K} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${MD2K} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MD2K} .for i in README.jis ${INSTALL_DATA} ${WRKSRC}/${MD2K_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${MD2K} + ${DOCSDIR}/${PORTVERSION}/${MD2K} .endfor # for ALPS driver ${ECHO_MSG} ">>> installing ${ALPS} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${ALPS} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${ALPS} .for i in README.gdevalps ${INSTALL_DATA} ${WRKSRC}/${ALPS_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${ALPS} + ${DOCSDIR}/${PORTVERSION}/${ALPS} .endfor # for BJ10V driver ${ECHO_MSG} ">>> installing ${BJ10V} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${BJ10V} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${BJ10V} .for i in gdev10v.jis ${INSTALL_DATA} ${WRKSRC}/${BJ10V_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${BJ10V} + ${DOCSDIR}/${PORTVERSION}/${BJ10V} .endfor # for LIPS driver ${ECHO_MSG} ">>> installing ${LIPS} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${LIPS} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${LIPS} .for i in Gdevlips.htm ${INSTALL_DATA} ${WRKSRC}/${LIPS_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${LIPS} + ${DOCSDIR}/${PORTVERSION}/${LIPS} .endfor # for DMPRT driver ${ECHO_MSG} ">>> installing ${DMPRT} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${DMPRT} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${DMPRT} .for i in gdevdmpr.sj ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DOCSDIR}/${GS_VERSION}/${DMPRT} + ${DOCSDIR}/${PORTVERSION}/${DMPRT} .endfor # for EPAG driver ${ECHO_MSG} ">>> installing ${EPAG} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${EPAG} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPAG} .for i in ert.txt gdevepag.txt ChangeLog ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPAG} + ${DOCSDIR}/${PORTVERSION}/${EPAG} .endfor .for i in psprint gsepagif.sh ${INSTALL_SCRIPT} ${WRKSRC}/${EPAG_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPAG} + ${DOCSDIR}/${PORTVERSION}/${EPAG} .endfor # for EPLASER driver ${ECHO_MSG} ">>> installing ${EPLASER} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${EPLASER} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPLASER} .for i in readme-eplaser-705.euc ${INSTALL_DATA} ${WRKSRC}/${EPLASER_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPLASER} + ${DOCSDIR}/${PORTVERSION}/${EPLASER} .endfor # for MJC driver ${ECHO_MSG} ">>> installing ${MJC} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${MJC} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MJC} .for i in MJ700V2C.FAQ README.mjc README.mje README.noz cpem.doc ${INSTALL_DATA} ${WRKSRC}/${MJC_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${MJC} + ${DOCSDIR}/${PORTVERSION}/${MJC} .endfor # for GDI driver ${ECHO_MSG} ">>> installing ${GDI} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${GDI} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${GDI} .for i in README ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DOCSDIR}/${GS_VERSION}/${GDI} + ${DOCSDIR}/${PORTVERSION}/${GDI} .endfor # for LXM3200 driver ${ECHO_MSG} ">>> installing ${LXM3200} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${LXM3200} + ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${LXM3200} .for i in README RELEASE_NOTES Z12-Z31-QuickSetup ${INSTALL_DATA} ${WRKSRC}/${LXM3200_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${LXM3200} + ${DOCSDIR}/${PORTVERSION}/${LXM3200} .endfor .endif ${ECHO_MSG} "> post-installation tasks completed." diff --git a/print/ghostscript7/Makefile.inc b/print/ghostscript7/Makefile.inc deleted file mode 100644 index 7cc3840a73b2..000000000000 --- a/print/ghostscript7/Makefile.inc +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ - -GS_VERSION= 7.07 -GS_REVISION= 18 -GS_EPOCH= 0 diff --git a/print/ghostscript7/pkg-descr b/print/ghostscript7/pkg-descr index eb7bd1738fc8..dad34a8cfa36 100644 --- a/print/ghostscript7/pkg-descr +++ b/print/ghostscript7/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 "GNU 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 is the older version 7, for those that can't (or don't want to) use the newer Ghostscript version 8. diff --git a/print/ghostscript8-nox11/Makefile b/print/ghostscript8-nox11/Makefile index bbf7efa26fd0..884bccd95de4 100644 --- a/print/ghostscript8-nox11/Makefile +++ b/print/ghostscript8-nox11/Makefile @@ -7,6 +7,6 @@ WITHOUT_X11= yes -MASTERDIR= ${.CURDIR}/../ghostscript-gpl +MASTERDIR= ${.CURDIR}/../ghostscript8 .include "${MASTERDIR}/Makefile" 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 -- cgit v1.2.3