diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-27 16:45:47 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-27 16:45:47 +0000 |
commit | 831fb2519ebf3ab1899eed358df6d0782cf16d42 (patch) | |
tree | db540a4c5e12cfdc81e7ff5e97255d0d74b9f1e0 /print/ghostscript-gpl | |
parent | - Add LEGAL notice (diff) |
- Update Gimp-Print driver to version 4.2.0
- Update HPinkjet driver to version 1.0
- Better support for jpeg WRKDIR location
- bump PORTREVISION
PR: 33060
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=52249
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 110 | ||||
-rw-r--r-- | print/ghostscript-gpl/distinfo | 4 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/escputil.contrib.mak | 6 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/hpijs.contrib.mak | 36 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/patch-hpijs:makefile | 32 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/patch-hpijs:platform.h | 13 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:unix-gcc.mak | 23 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/stp.contrib.mak | 17 | ||||
-rw-r--r-- | print/ghostscript-gpl/pkg-plist | 6 | ||||
-rw-r--r-- | print/ghostscript-gpl/scripts/configure | 2 |
10 files changed, 109 insertions, 140 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 3f867cfda7ed..41b184f1ef25 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -7,6 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 7.03 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://members.ozemail.com.au/~geoffk/pdfencrypt/ \ @@ -33,12 +34,12 @@ NO_CDROM= "Can only be distributed for free" WRKSRC= ${WRKDIR}/gs${PORTVERSION} USE_GMAKE= yes -CFLAGS+= -DUPD_SIGNAL=0 +MAKE_ENV= CC="${CC}" CXX="${CXX}" XCFLAGS="${XCFLAGS}" MAKEFILE= src/unix-gcc.mak -ALL_TARGET= all pcl3opts escputil +ALL_TARGET= all pcl3opts PLIST_SUB= GS_VERSION=${PORTVERSION} -MAN1= ansi2knr.1 dvipdf.1 escputil.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \ +MAN1= ansi2knr.1 dvipdf.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \ gs.1 gslp.1 gsnd.1 pcl3opts.1 pdf2dsc.1 pdf2ps.1 pdfopt.1 \ pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 \ ps2pdfwr.1 ps2ps.1 wftopfa.1 @@ -50,8 +51,10 @@ MLINKS= gslp.1 gsbj.1 \ ps2pdf.1 ps2pdf13.1 \ ps2ps.1 eps2eps.1 +XCFLAGS= -DUPD_SIGNAL=0 + .if defined(A4) -MAKE_ENV+= A4="${A4}" +XCFLAGS+= -DA4 .endif .if !defined(WITHOUT_X11) @@ -98,20 +101,18 @@ PCL3_MAN1= gs-pcl3.1 pcl3opts.1 # http://www.harsch.net/Ghostscript/ghostscript.html HP970_DRV= gdevdj9.c.gz -# gimp-print - very high quality driver for Epson, HPs,... +# Gimp-Print - very high quality driver for Epson, HPs,... # http://gimp-print.sourceforge.net/ -GPRINT= print -GPRINT_DESC= gimp-${GPRINT} -GPRINT_VERS= 4.0.5 +GPRINT= gimp-print +GPRINT_VERS= 4.2.0 GPRINT_NAME= ${GPRINT}-${GPRINT_VERS} GPRINT_SRC= ${GPRINT_NAME}.tar.gz -GPRINT_MAN1= escputil.1 # HPinkjet - HP developed printer driver for PhotoSmart/DeskJet series # http://hpinkjet.sourceforge.net/ HPIJS= hpijs -HPIJS_VERS= 0.97 -HPIJS_NAME= ${HPIJS}${HPIJS_VERS} +HPIJS_VERS= 1.0 +HPIJS_NAME= ${HPIJS}-${HPIJS_VERS} HPIJS_SRC= ${HPIJS_NAME}.tar.gz # contributed uniprint profiles @@ -132,7 +133,7 @@ pre-everything:: post-extract: ${ECHO_MSG} ">>> in post-extract ..." - ${LN} -sf ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \ + ${LN} -sf ${WRKDIRPREFIX}/${PORTSDIR}/graphics/jpeg/work/jpeg-6b \ ${WRKSRC}/jpeg # ** 3rd party driver ** # Note: don't forget to add those devices in scripts/configure and @@ -156,13 +157,12 @@ post-extract: ${ECHO_MSG} ">>> extracting ${HP970_DRV} ..." ${CP} ${DISTDIR}/${DIST_SUBDIR}/${HP970_DRV} ${WRKSRC}/src ${GUNZIP_CMD} ${WRKSRC}/src/${HP970_DRV} -# for gimp-print +# for Gimp-Print driver ${ECHO_MSG} ">>> extracting ${GPRINT_SRC} ..." ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRC} # for HPinkjet driver ${ECHO_MSG} ">>> extracting ${HPIJS_SRC} ..." ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRC} - ${LN} -sf ${HPIJS_NAME} ${WRKSRC}/hpijs post-patch: ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ @@ -170,9 +170,10 @@ post-patch: ${PERL} -pi -e 's|\. de|\.|g' \ ${WRKSRC}/src/unixinst.mak # for HPinkjet driver + ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \ + s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \ - 's|#include <malloc.h>||g; \ - s|SRVPATH \"hpijs\"|SRVPATH \"${PREFIX}/libexec/hpijs\"|g' + 's|#include <malloc.h>||g' # here we apply the modifications necessary to build the 3rd party drivers # advantage: you see unmodified makefiles after a pure make extract @@ -194,20 +195,11 @@ pre-configure: ${ECHO_MSG} ">>> adding DJ970 driver to contrib.mak ..." ${CAT} ${FILESDIR}/dj970.contrib.mak \ >> ${WRKSRC}/src/contrib.mak -# for gimp-print - ${ECHO_MSG} ">>> creating symlinks for ${GPRINT_DESC} ..." - ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/Ghost/*.[ch] \ - ${WRKSRC}/src - ${ECHO_MSG} ">>> adding ${GPRINT_DESC} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${GPRINT_NAME}/Ghost/contrib.mak.addon \ - >> ${WRKSRC}/src/contrib.mak - ${ECHO_MSG} ">>> adding make rules for escputil to contrib.mak ..." - ${CAT} ${FILESDIR}/escputil.contrib.mak \ +# for Gimp-Print driver + ${ECHO_MSG} ">>> adding ${GPRINT} driver to contrib.mak ..." + ${CAT} ${FILESDIR}/stp.contrib.mak \ >> ${WRKSRC}/src/contrib.mak # for HPinkjet driver - ${ECHO_MSG} ">>> creating symlinks for ${HPIJS} ..." - ${LN} -sf ${WRKSRC}/${HPIJS_NAME}/gdevhpij.[ch] \ - ${WRKSRC}/src ${ECHO_MSG} ">>> adding ${HPIJS} driver to contrib.mak ..." ${CAT} ${FILESDIR}/hpijs.contrib.mak \ >> ${WRKSRC}/src/contrib.mak @@ -220,16 +212,49 @@ do-configure: ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure .endif +post-configure: + ${ECHO_MSG} ">>> in post-configure ..." +# for Gimp-Print driver + ${ECHO_MSG} ">>> running configure script for ${GPRINT} driver ..." + cd ${WRKSRC}/${GPRINT_NAME} ; \ + ${SETENV} ${MAKE_ENV} ${SH} ./configure \ + --without-cups --without-translated-ppds \ + --with-ghost --without-foomatic \ + --without-gimp --without-samples \ + --without-user-guide --disable-escputil \ + --disable-nls --disable-shared \ + --prefix=${PREFIX} +# for HPinkjet driver + ${ECHO_MSG} ">>> running configure script for ${HPIJS} driver ..." + cd ${WRKSRC}/${HPIJS_NAME} ; \ + ${SETENV} ${MAKE_ENV} ${SH} ./configure \ + --prefix=${PREFIX} + pre-build: ${ECHO_MSG} ">>> in pre-build ..." ${ECHO_MSG} ">>> creating directories for compilation ..." ${MKDIR} ${WRKSRC}/obj ${MKDIR} ${WRKSRC}/bin - -post-build: +# for Gimp-Print driver + ${ECHO_MSG} ">>> building ${GPRINT} library ..." + cd ${WRKSRC}/${GPRINT_NAME} ; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile + ${ECHO_MSG} ">>> creating symlinks for ${GPRINT} ..." + ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/include/gimp-print \ + ${WRKSRC}/src + ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/ghost/*.[ch] \ + ${WRKSRC}/src + ${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \ + ${WRKSRC}/obj # for HPinkjet driver + ${ECHO_MSG} ">>> building ${HPIJS} server ..." cd ${WRKSRC}/${HPIJS_NAME} ; \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} makefile + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile + ${ECHO_MSG} ">>> creating symlinks for ${HPIJS} ..." +.for file in gdevijs.[ch] ijs.[ch] ijs_client.[ch] ijs_exec_unix.c unistd_.h + ${LN} -sf ${WRKSRC}/${HPIJS_NAME}/${file} \ + ${WRKSRC}/src +.endfor pre-install: ${ECHO_MSG} ">>> in pre-install ..." @@ -273,29 +298,22 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \ ${DATADIR}/${PORTVERSION}/pcl3 .endfor -# for gimp-print driver - ${ECHO_MSG} ">>> installing ${GPRINT_DESC} escputil in bindir ..." - ${INSTALL_PROGRAM} ${WRKSRC}/src/escputil ${PREFIX}/bin - ${ECHO_MSG} ">>> installing ${GPRINT_DESC} manpages ..." -.for i in ${GPRINT_MAN1} - ${INSTALL_MAN} ${WRKSRC}/${GPRINT_NAME}/Ghost/${i} \ - ${PREFIX}/man/man1 -.endfor - ${ECHO_MSG} ">>> creating ${GPRINT_DESC} destdir ..." +# for Gimp-Print driver + ${ECHO_MSG} ">>> creating ${GPRINT} destdir ..." ${MKDIR} ${DATADIR}/${PORTVERSION}/gimp-print - ${ECHO_MSG} ">>> installing files in gimp-print destdir ..." + ${ECHO_MSG} ">>> installing files in ${GPRINT} destdir ..." .for i in README - ${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/Ghost/${i} \ + ${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \ ${DATADIR}/${PORTVERSION}/gimp-print .endfor # for HPinkjet driver - ${ECHO_MSG} ">>> installing ${HPIJS} server in libexecdir ..." - ${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/libexec + ${ECHO_MSG} ">>> installing ${HPIJS} server in bindir ..." + ${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin ${ECHO_MSG} ">>> creating ${HPIJS} destdir ..." ${MKDIR} ${DATADIR}/${PORTVERSION}/hpijs ${ECHO_MSG} ">>> installing files in ${HPIJS} destdir ..." -.for i in hpijs_readme.html - ${INSTALL_DATA} ${WRKSRC}/${HPIJS}/${i} \ +.for i in hpijs_readme.html gs_hpijs.png printerdb_append append_db.sh + ${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \ ${DATADIR}/${PORTVERSION}/hpijs .endfor # contributed UPP driver diff --git a/print/ghostscript-gpl/distinfo b/print/ghostscript-gpl/distinfo index 70e8f208a144..7be74a660643 100644 --- a/print/ghostscript-gpl/distinfo +++ b/print/ghostscript-gpl/distinfo @@ -6,5 +6,5 @@ MD5 (ghostscript/gdevcd8.tar.gz) = 5ce48bff6082a023199c8ede4aae63a0 MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6 MD5 (ghostscript/gdevdj9.c.gz) = f09ef883b8ba837fb42c608c01af7375 -MD5 (ghostscript/print-4.0.5.tar.gz) = 2eae88b9285d47036d31974fd2b0abc2 -MD5 (ghostscript/hpijs0.97.tar.gz) = d02f8c4c2d730e72038f6f4d4350fbe8 +MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6 +MD5 (ghostscript/hpijs-1.0.tar.gz) = 9ec7d86d2cc2dd613f8829891b02104b diff --git a/print/ghostscript-gpl/files/escputil.contrib.mak b/print/ghostscript-gpl/files/escputil.contrib.mak deleted file mode 100644 index b0cea6064968..000000000000 --- a/print/ghostscript-gpl/files/escputil.contrib.mak +++ /dev/null @@ -1,6 +0,0 @@ - -# build escputil command from gimp-print sources - -escputil: $(GLSRC)escputil.c - $(CC_) -o $(GLSRC)escputil $(GLSRC)escputil.c - diff --git a/print/ghostscript-gpl/files/hpijs.contrib.mak b/print/ghostscript-gpl/files/hpijs.contrib.mak index 35eb9e6b06b1..6e94367c778c 100644 --- a/print/ghostscript-gpl/files/hpijs.contrib.mak +++ b/print/ghostscript-gpl/files/hpijs.contrib.mak @@ -1,31 +1,19 @@ -### ------------- Hewlett-Packard Co. Inkjet Driver -------------- ### +### ------------- IJS Interface -------------- ### -hpijs_=$(GLOBJ)gdevhpij.$(OBJ) +ijs_=$(GLOBJ)gdevijs.$(OBJ) $(GLOBJ)ijs_client.$(OBJ) $(GLOBJ)ijs_exec_unix.$(OBJ) $(GLOBJ)ijs.$(OBJ) -$(DD)gdevhpij.$(OBJ): $(GLSRC)gdevhpij.c $(PDEVH) - $(GLCC) $(GLO_)gdevhpij.$(OBJ) $(C_) $(GLSRC)gdevhpij.c +$(GLOBJ)ijs_client.$(OBJ) : $(GLSRC)ijs_client.c $(PDEVH) + $(GLCC) $(GLO_)ijs_client.$(OBJ) $(C_) $(GLSRC)ijs_client.c -$(DD)hpijs.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) $(DD)hpijs $(hpijs_) +$(GLOBJ)ijs_exec_unix.$(OBJ) : $(GLSRC)ijs_exec_unix.c $(PDEVH) + $(GLCC) $(GLO_)ijs_exec_unix.$(OBJ) $(C_) $(GLSRC)ijs_exec_unix.c -$(DD)DJ630.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ630 $(hpijs_) +$(GLOBJ)ijs.$(OBJ) : $(GLSRC)ijs.c $(PDEVH) + $(GLCC) $(GLO_)ijs.$(OBJ) $(C_) $(GLSRC)ijs.c -$(DD)DJ6xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ6xx $(hpijs_) +$(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH) + $(GLCC) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c -$(DD)DJ6xxP.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ6xxP $(hpijs_) - -$(DD)DJ8xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ8xx $(hpijs_) - -$(DD)DJ9xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ9xx $(hpijs_) - -$(DD)DJ9xxVIP.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ9xxVIP $(hpijs_) - -$(DD)AP21xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) AP21xx $(hpijs_) +$(DD)ijs.dev : $(ijs_) $(DD)page.dev + $(SETPDEV) $(DD)ijs $(ijs_) diff --git a/print/ghostscript-gpl/files/patch-hpijs:makefile b/print/ghostscript-gpl/files/patch-hpijs:makefile deleted file mode 100644 index 8f53a8202f59..000000000000 --- a/print/ghostscript-gpl/files/patch-hpijs:makefile +++ /dev/null @@ -1,32 +0,0 @@ ---- hpijs/makefile.orig Fri Jun 8 06:10:57 2001 -+++ hpijs/makefile Tue Jul 10 03:09:21 2001 -@@ -1,17 +1,17 @@ --FLAGS = -D_LITTLE_ENDIAN -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \ -+FLAGS = -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \ - -D_DJ9xxVIP -D_DJ630 -D_APOLLO2100 -D_DJ600 -D_DJ350 - - VERSION=0.97 - INSTALLDIR=/usr/bin - - --CC = g++ -c -Wall -DVERSION=\"$(VERSION)\" $(FLAGS) -+CXXFLAGS += -DVERSION=\"$(VERSION)\" $(FLAGS) - #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" -DCAPTURE $(FLAGS) - #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" $(FLAGS) - - .cpp.o: - echo "compiling $(<F)" -- $(CC) $(<F) -o $(*F).o -+ $(CXX) $(CXXFLAGS) -c $(<F) -o $(*F).o - - OBJS = hpijs.o models.o breaks_open.o \ - aladdin.o broadway.o capture.o \ -@@ -28,7 +28,7 @@ - - - linkit: $(OBJS) -- g++ $(OBJS) -o hpijs -+ $(CXX) $(OBJS) -o hpijs - - install: - install -m 0755 -s hpijs $(INSTALLDIR) diff --git a/print/ghostscript-gpl/files/patch-hpijs:platform.h b/print/ghostscript-gpl/files/patch-hpijs:platform.h deleted file mode 100644 index 8243385b25b3..000000000000 --- a/print/ghostscript-gpl/files/patch-hpijs:platform.h +++ /dev/null @@ -1,13 +0,0 @@ ---- hpijs/platform.h.orig Wed Oct 3 03:56:37 2001 -+++ hpijs/platform.h Wed Oct 3 04:20:33 2001 -@@ -13,3 +13,10 @@ - #include <string.h> - #include <stdio.h> - #include <math.h> -+ -+#ifdef __FreeBSD__ -+#include <machine/endian.h> -+#if BYTE_ORDER == LITTLE_ENDIAN -+#define _LITTLE_ENDIAN -+#endif -+#endif diff --git a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak b/print/ghostscript-gpl/files/patch-src:unix-gcc.mak index 22ec0928c428..4c6b7163bb5d 100644 --- a/print/ghostscript-gpl/files/patch-src:unix-gcc.mak +++ b/print/ghostscript-gpl/files/patch-src:unix-gcc.mak @@ -1,5 +1,5 @@ ---- src/unix-gcc.mak.orig Fri Nov 2 03:45:56 2001 -+++ src/unix-gcc.mak Fri Nov 2 03:54:59 2001 +--- src/unix-gcc.mak.orig Sat Sep 15 17:55:32 2001 ++++ src/unix-gcc.mak Sat Dec 15 04:19:08 2001 @@ -26,14 +26,15 @@ # source, generated intermediate file, and object directories # for the graphics library (GL) and the PostScript/PDF interpreter (PS). @@ -83,21 +83,19 @@ # Define the name of the linker for the final link step. # Normally this is the same as the C compiler. -@@ -229,9 +229,11 @@ +@@ -229,9 +229,9 @@ # We don't include -ansi, because this gets in the way of the platform- # specific stuff that <math.h> typically needs; nevertheless, we expect # gcc to accept ANSI-style function prototypes and function definitions. -XCFLAGS= -+ifdef A4 -+XCFLAGS=-DA4 -+endif ++#XCFLAGS= -CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) +CFLAGS+=$(XCFLAGS) # Define platform flags for ld. # SunOS 4.n may need -Bstatic. -@@ -240,7 +242,7 @@ +@@ -240,7 +240,7 @@ # -R /usr/local/xxx/lib:/usr/local/lib # giving the full path names of the shared library directories. # XLDFLAGS can be set from the command line. @@ -106,7 +104,7 @@ LDFLAGS=$(XLDFLAGS) -fno-common -@@ -273,7 +275,7 @@ +@@ -273,7 +273,7 @@ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, # not in $(XINCLUDE). @@ -115,15 +113,12 @@ # Define the directory/ies and library names for the X11 library files. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH -@@ -286,11 +288,16 @@ +@@ -285,12 +285,12 @@ + # Solaris and other SVR4 systems with dynamic linking probably want #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib # X11R6 (on any platform) may need - #XLIBS=Xt SM ICE Xext X11 -+ifdef NO_X -+XLIBS= -+else +-#XLIBS=Xt SM ICE Xext X11 +XLIBS=Xt SM ICE Xext X11 -+endif #XLIBDIRS=-L/usr/local/X/lib -XLIBDIRS=-L/usr/X11R6/lib diff --git a/print/ghostscript-gpl/files/stp.contrib.mak b/print/ghostscript-gpl/files/stp.contrib.mak new file mode 100644 index 000000000000..613116007dd3 --- /dev/null +++ b/print/ghostscript-gpl/files/stp.contrib.mak @@ -0,0 +1,17 @@ +### --------------- Gimp-Print/stp Driver ---------------------------- ### +### Be careful to add the exact contents of this file; cut and paste ### +### may corrupt the file and cause mysterious make errors ### + +stp_=$(GLOBJ)gdevstp.$(OBJ) + +STPINCDIR=-I$(GLSRC) +STPLIBDIR=-L$(GLOBJ) +STPLIB=gimpprint + +$(DD)stp.dev: $(stp_) $(DD)page.dev + $(SETPDEV) $(DD)stp $(stp_) + $(ADDMOD) $(DD)stp -link $(STPLIBDIR) + $(ADDMOD) $(DD)stp -lib $(STPLIB) + +$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH) + $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(STPINCDIR) $(GLSRC)gdevstp.c diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist index a25d9974bba9..fa9ebdd6cf08 100644 --- a/print/ghostscript-gpl/pkg-plist +++ b/print/ghostscript-gpl/pkg-plist @@ -1,7 +1,6 @@ bin/bdftops bin/dvipdf bin/eps2eps -bin/escputil bin/fixmswrd.pl bin/font2c bin/gs @@ -11,6 +10,7 @@ bin/gsdj500 bin/gslj bin/gslp bin/gsnd +bin/hpijs bin/lprsetup.sh bin/pdf2dsc bin/pdf2ps @@ -30,7 +30,6 @@ bin/pv.sh bin/sysvlp.sh bin/unix-lpr.sh bin/wftopfa -libexec/hpijs %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/NEWS @@ -103,7 +102,10 @@ share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4.ps share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4Rotated.ps share/ghostscript/%%GS_VERSION%%/hpdj/margins-Letter.ps share/ghostscript/%%GS_VERSION%%/hpdj/margins-LetterRotated.ps +share/ghostscript/%%GS_VERSION%%/hpijs/append_db.sh +share/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png share/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html +share/ghostscript/%%GS_VERSION%%/hpijs/printerdb_append share/ghostscript/%%GS_VERSION%%/lib/Fontmap share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS share/ghostscript/%%GS_VERSION%%/lib/acctest.ps diff --git a/print/ghostscript-gpl/scripts/configure b/print/ghostscript-gpl/scripts/configure index 31c7d3d85b44..0d6b5743ebe6 100644 --- a/print/ghostscript-gpl/scripts/configure +++ b/print/ghostscript-gpl/scripts/configure @@ -80,7 +80,7 @@ Have fun with this new configuration style ! -andreas \n\n\ "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \ "pcl3" "HP PCL 3+ (DeskJet 500/500C/510/520/540/550C/560C/850C/855C)" ON \ "hpdj" "HP PCL 3+ (old drv.)" ON \ - "hpijs" "HP PhotoSmart/DeskJet series (HP developed driver)" ON \ + "ijs" "HP PhotoSmart/DeskJet series (HP developed driver)" ON \ "ibmpro" "IBM 9-pin Proprinter" OFF \ "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \ "imagen" "Imagen ImPress printers" OFF \ |