diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-07 16:56:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-07 16:56:02 +0000 |
commit | 275ac92cc0dca395047479232513f4aac0ea57f3 (patch) | |
tree | d9c988098f1e77e39abe9803b4a1a328ecf4158e /print | |
parent | 1e8135463a37f9ceb29f2e7f5133d3d6e56558a3 (diff) | |
download | ports-275ac92cc0dca395047479232513f4aac0ea57f3.tar.gz ports-275ac92cc0dca395047479232513f4aac0ea57f3.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/libijs/Makefile | 27 | ||||
-rw-r--r-- | print/libijs/distinfo | 1 | ||||
-rw-r--r-- | print/libijs/files/patch-Makefile.in | 76 | ||||
-rw-r--r-- | print/libijs/pkg-comment | 1 | ||||
-rw-r--r-- | print/libijs/pkg-descr | 8 | ||||
-rw-r--r-- | print/libijs/pkg-plist | 9 |
7 files changed, 123 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 7c9ca55b9d60..75d01ff12767 100644 --- a/print/Makefile +++ b/print/Makefile @@ -77,6 +77,7 @@ SUBDIR += latex SUBDIR += latex2rtf SUBDIR += libgnomeprint + SUBDIR += libijs SUBDIR += lilypond SUBDIR += lout SUBDIR += lprps-a4 diff --git a/print/libijs/Makefile b/print/libijs/Makefile new file mode 100644 index 000000000000..0bd8c626b082 --- /dev/null +++ b/print/libijs/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: hpijs +# Date created: 1 May 2002 +# Whom: ports@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= libijs +PORTVERSION= 0.34 +CATEGORIES= print +MASTER_SITES= http://www.linuxprinting.org/ijs/download/ +DISTNAME= ijs-${PORTVERSION} +DIST_SUBDIR= ghostscript + +MAINTAINER= ports@FreeBSD.org + +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +INSTALLS_SHLIB= yes + +MAKE_ENV= SHLIB_VER=${SHLIB_VER} +PLIST_SUB= SHLIB_VER=${SHLIB_VER} + +SHLIB_VER= 1 + +.include <bsd.port.mk> diff --git a/print/libijs/distinfo b/print/libijs/distinfo new file mode 100644 index 000000000000..867d52f436e2 --- /dev/null +++ b/print/libijs/distinfo @@ -0,0 +1 @@ +MD5 (ghostscript/ijs-0.34.tar.gz) = 9f6b7cfac8dbaddda9f6c90f06a0d699 diff --git a/print/libijs/files/patch-Makefile.in b/print/libijs/files/patch-Makefile.in new file mode 100644 index 000000000000..764104e0351c --- /dev/null +++ b/print/libijs/files/patch-Makefile.in @@ -0,0 +1,76 @@ +--- Makefile.in.orig Tue Apr 23 06:51:55 2002 ++++ Makefile.in Sun Apr 28 13:09:35 2002 +@@ -1,14 +1,15 @@ + # Unix + + CC=@CC@ +-CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes ++CFLAGS=@CFLAGS@ -ansi -pedantic -Wmissing-prototypes + LDLIBS= + OBJ=.@OBJEXT@ + EXE=@EXEEXT@ + + # todo: this needs to be .dylib on OS X - write a test +-SHARED_LDFLAGS=-shared +-SHARED_OBJ=.so ++SHARED_LDFLAGS=-shared -Wl,-soname,libijs$(SHARED_OBJ) ++SHARED_OBJ=.so.$(SHLIB_VER) ++SHLIB_VER?=0 + #SHARED_LDFLAGS=-dylib + #SHARED_OBJ=.dylib + +@@ -28,11 +29,20 @@ + + pkgincludedir=$(includedir)/ijs + +-INSTALL = @INSTALL@ ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_DATA = @INSTALL_DATA@ + + IJS_COMMON_OBJ=ijs$(OBJ) + +-all: libijs.a libijs$(SHARED_OBJ) ijs_client_example$(EXE) ijs_server_example$(EXE) ++.SUFFIXES: .c .lo .o ++ ++.c.o: ++ $(CC) $(CFLAGS) -c -o $@ $< ++.c.lo: ++ $(CC) $(CFLAGS) -fPIC -DPIC -c -o $@ $< ++ ++all: libijs.a libijs$(SHARED_OBJ) ijs_client_example$(EXE) + + LIB_OBJS=ijs$(OBJ) ijs_client$(OBJ) ijs_server$(OBJ) $(IJS_EXEC_SERVER) + +@@ -44,7 +54,7 @@ + # Note: this builds both the server and client into a single library. Logically, it + # makes sense to separate them, but they're small enough to make this probably + # not worthwhile. +-libijs$(SHARED_OBJ): $(LIB_OBJS) ++libijs$(SHARED_OBJ): $(LIB_OBJS:.o=.lo) + $(CC) $(SHARED_LDFLAGS) $^ -o $@ + + ijs_client_example$(EXE): ijs_client_example$(OBJ) ijs_client$(OBJ) $(IJS_COMMON_OBJ) $(IJS_EXEC_SERVER) +@@ -60,14 +70,15 @@ + $(RM) *~ gmon.out core ijs_spec.log ijs_spec.tex ijs_spec.aux libijs.a libijs$(SHARED_OBJ) config.cache config.log config.status ijs-config + + install: all +- $(INSTALL) ijs_client_example$(EXE) -c $(bindir)/ijs_client_example$(EXE) +- $(INSTALL) ijs-config -c $(bindir)/ijs-config +- $(INSTALL) libijs.a $(libdir)/libijs.a +- $(INSTALL) libijs$(SHARED_OBJ) $(libdir)/libijs$(SHARED_OBJ) ++ $(INSTALL_PROGRAM) ijs_client_example$(EXE) $(bindir)/ijs_client_example$(EXE) ++ $(INSTALL_SCRIPT) ijs-config $(bindir)/ijs-config ++ $(INSTALL_DATA) libijs.a $(libdir)/libijs.a ++ $(INSTALL_DATA) libijs$(SHARED_OBJ) $(libdir)/libijs$(SHARED_OBJ) ++ -ln -sf libijs$(SHARED_OBJ) $(libdir)/libijs.so + -mkdir $(pkgincludedir) +- $(INSTALL) ijs.h $(pkgincludedir)/ijs.h +- $(INSTALL) ijs_client.h $(pkgincludedir)/ijs_client.h +- $(INSTALL) ijs_server.h $(pkgincludedir)/ijs_server.h ++ $(INSTALL_DATA) ijs.h $(pkgincludedir)/ijs.h ++ $(INSTALL_DATA) ijs_client.h $(pkgincludedir)/ijs_client.h ++ $(INSTALL_DATA) ijs_server.h $(pkgincludedir)/ijs_server.h + + uninstall: + $(RM) $(bindir)/ijs_client_example$(EXE) $(bindir)/ijs-config $(libdir)/libijs.a $(libdir)/libijs$(SHARED_OBJ) diff --git a/print/libijs/pkg-comment b/print/libijs/pkg-comment new file mode 100644 index 000000000000..47a87540c3a1 --- /dev/null +++ b/print/libijs/pkg-comment @@ -0,0 +1 @@ +C library that supports plugin printer driver for Ghostscript diff --git a/print/libijs/pkg-descr b/print/libijs/pkg-descr new file mode 100644 index 000000000000..2f17da711ac6 --- /dev/null +++ b/print/libijs/pkg-descr @@ -0,0 +1,8 @@ +IJS is a relatively new initiative to improve the quality and ease +of use of inkjet printing with Ghostscript. Using IJS, you can add +new drivers, or upgrade existing ones, without recompiling Ghostscript. +All driver authors are encouraged to adapt their drivers for IJS, +and if there is an IJS driver available for your printer, it should +be your first choice. + +WWW: http://www.linuxprinting.org/ijs/ diff --git a/print/libijs/pkg-plist b/print/libijs/pkg-plist new file mode 100644 index 000000000000..80476524202c --- /dev/null +++ b/print/libijs/pkg-plist @@ -0,0 +1,9 @@ +bin/ijs_client_example +bin/ijs-config +include/ijs/ijs.h +include/ijs/ijs_client.h +include/ijs/ijs_server.h +lib/libijs.a +lib/libijs.so +lib/libijs.so.%%SHLIB_VER%% +@dirrm include/ijs |