aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-10 11:15:19 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-10 11:15:19 +0800
commitaf5e44f04d0bf7f7e1138aa59942c4779f7e714f (patch)
tree0557451828be88ddbc10b56ce24f5e7e7c6a12b5 /print/ghostscript8
parent1bfb424f397e99f0e8a836abc7ca16da37366227 (diff)
downloadfreebsd-ports-graphics-af5e44f04d0bf7f7e1138aa59942c4779f7e714f.tar.gz
freebsd-ports-graphics-af5e44f04d0bf7f7e1138aa59942c4779f7e714f.tar.zst
freebsd-ports-graphics-af5e44f04d0bf7f7e1138aa59942c4779f7e714f.zip
Spin off HPIJS driver
PR: 37890, 37891 Submitted by: Ports Fury
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile46
-rw-r--r--print/ghostscript8/distinfo1
-rw-r--r--print/ghostscript8/pkg-plist4
3 files changed, 4 insertions, 47 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 3f6fbcbef64..5515938a93d 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -7,9 +7,9 @@
PORTNAME= ghostscript
PORTVERSION= 7.04
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint,hpijs/} \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint/} \
http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
http://www.harsch.net/Download/:dj970 \
@@ -21,10 +21,8 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint,hpijs/} \
http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
-MASTER_SITE_SUBDIR= ${PORTNAME} \
- gimp-print/:gprint \
- hpinkjet/:hpijs \
- ghostscript/:ports_jp
+MASTER_SITE_SUBDIR= ghostscript/:DEFAULT,fonts,ports_jp \
+ gimp-print/:gprint
PKGNAMESUFFIX= -afpl
DISTFILES= ${GS_SRCS}:DEFAULT \
${GS_FONTS_STD}:fonts \
@@ -34,7 +32,6 @@ DISTFILES= ${GS_SRCS}:DEFAULT \
${PCL3_SRCS}:hpdj_pcl3 \
${DJ970_SRCS}:dj970 \
${GPRINT_SRCS}:gprint \
- ${HPIJS_SRCS}:hpijs \
${MD2K_SRCS}:md2k \
${ALPS_SRCS}:ports_jp \
${BJ10V_SRCS}:ports_jp \
@@ -147,13 +144,6 @@ GPRINT_VERS= 4.2.1
GPRINT_NAME= ${GPRINT}-${GPRINT_VERS}
GPRINT_SRCS= ${GPRINT_NAME}.tar.gz
-# HPinkjet - additional driver for PhotoSmart/DeskJet series (HP developed)
-# http://hpinkjet.sourceforge.net/
-HPIJS= hpijs
-HPIJS_VERS= 1.0.4
-HPIJS_NAME= ${HPIJS}-${HPIJS_VERS}
-HPIJS_SRCS= ${HPIJS_NAME}.tar.gz
-
# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
MD2K= md2k
@@ -257,9 +247,6 @@ post-extract:
# for Gimp-Print driver
${ECHO_MSG} ">>> extracting ${GPRINT_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRCS}
-# for HPinkjet driver
- ${ECHO_MSG} ">>> extracting ${HPIJS_SRCS} ..."
- ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRCS}
# for MD2K driver
${ECHO_MSG} ">>> extracting ${MD2K_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS}
@@ -303,12 +290,6 @@ post-patch:
${WRKSRC}/src/unixinst.mak
${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/lib/gs_res.ps
-# for HPinkjet driver
- ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
- s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
- ${WRKSRC}/${HPIJS_NAME}/configure
- ${PERL} -pi -e 's|#include <malloc.h>||g' \
- ${WRKSRC}/${HPIJS_NAME}/platform.h
# for DMPRT driver
${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
s|%%GS_VERSION%%|${PORTVERSION}|g' \
@@ -400,11 +381,6 @@ post-configure:
--without-user-guide --disable-escputil \
--disable-nls --disable-shared \
--prefix=${PREFIX}
-# for HPinkjet driver
- ${ECHO_MSG} ">>> running configure script for ${HPIJS} server ..."
- cd ${WRKSRC}/${HPIJS_NAME} ; \
- ${SETENV} ${MAKE_ENV} ${SH} ./configure \
- --prefix=${PREFIX}
pre-build:
${ECHO_MSG} ">>> in pre-build ..."
@@ -424,10 +400,6 @@ pre-build:
${WRKSRC}/${GPRINT}/gimp-print
${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
${WRKSRC}/${GPRINT}/libgimpprint.a
-# for HPinkjet driver
- ${ECHO_MSG} ">>> building ${HPIJS} server ..."
- cd ${WRKSRC}/${HPIJS_NAME} ; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
# for MD2K driver
${ECHO_MSG} ">>> creating symlinks for ${MD2K} ..."
.for i in gdevmd2k.c
@@ -522,9 +494,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
${DATADIR}/${PORTVERSION}/${PCL3}
.endfor
-# for HPinkjet driver
- ${ECHO_MSG} ">>> installing ${HPIJS} server in bindir ..."
- ${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin
# for DMPRT driver
${ECHO_MSG} ">>> installing ${DMPRT} resources ..."
.for i in dmp_init.ps dmp_site.ps escp_24.src
@@ -567,13 +536,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
${DOCSDIR}/${PORTVERSION}/${GPRINT}
.endfor
-# for HPinkjet driver
- ${ECHO_MSG} ">>> installing ${HPIJS} docs ..."
- ${MKDIR} ${DOCSDIR}/${PORTVERSION}/${HPIJS}
-.for i in hpijs_readme.html gs_hpijs.png
- ${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \
- ${DOCSDIR}/${PORTVERSION}/${HPIJS}
-.endfor
# for MD2K driver
${ECHO_MSG} ">>> installing ${MD2K} docs ..."
${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MD2K}
diff --git a/print/ghostscript8/distinfo b/print/ghostscript8/distinfo
index f70ed92e062..96f35da1a64 100644
--- a/print/ghostscript8/distinfo
+++ b/print/ghostscript8/distinfo
@@ -6,7 +6,6 @@ MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be
MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
MD5 (ghostscript/gimp-print-4.2.1.tar.gz) = 62f59f0bf0b4d2843cc9953f3b4f894f
-MD5 (ghostscript/hpijs-1.0.4.tar.gz) = e2b8d2a671fdbcd27f20092691d40bba
MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9
MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist
index cc00589f961..2d1db2b75eb 100644
--- a/print/ghostscript8/pkg-plist
+++ b/print/ghostscript8/pkg-plist
@@ -13,7 +13,6 @@ bin/gslj
bin/gslp
bin/gsnd
%%SHLIB%%bin/gsx
-bin/hpijs
bin/lprsetup.sh
bin/pcl3opts
bin/pdf2dsc
@@ -48,8 +47,6 @@ bin/wftopfa
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gimp-print/README
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png
-%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ
@@ -531,7 +528,6 @@ share/ghostscript/fonts/z003034l.pfm
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
-%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpijs
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gimp-print
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser