diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-08 00:57:37 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-08 00:57:37 +0800 |
commit | 7fb463bee348e8bef8bee47aae785599f8e04c1e (patch) | |
tree | 7355746eaabeb88e387484a988782c48815bf2e8 /print/hpijs | |
parent | f0d49ce929b33cc4cc8a0b3c143a2f5f75b2c24e (diff) | |
download | freebsd-ports-gnome-7fb463bee348e8bef8bee47aae785599f8e04c1e.tar.gz freebsd-ports-gnome-7fb463bee348e8bef8bee47aae785599f8e04c1e.tar.zst freebsd-ports-gnome-7fb463bee348e8bef8bee47aae785599f8e04c1e.zip |
add hpijs 1.1
The drivers and support resources for the HP Inkjet Printers
PR: 37832
Submitted by: Ports Fury
Diffstat (limited to 'print/hpijs')
-rw-r--r-- | print/hpijs/Makefile | 45 | ||||
-rw-r--r-- | print/hpijs/distinfo | 1 | ||||
-rw-r--r-- | print/hpijs/pkg-comment | 1 | ||||
-rw-r--r-- | print/hpijs/pkg-descr | 5 | ||||
-rw-r--r-- | print/hpijs/pkg-plist | 4 |
5 files changed, 56 insertions, 0 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile new file mode 100644 index 000000000000..9083990d7708 --- /dev/null +++ b/print/hpijs/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: hpijs +# Date created: 1 May 2002 +# Whom: ports@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= hpijs +PORTVERSION= 1.1 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= hpinkjet +DIST_SUBDIR= ghostscript + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs + +IJS_CONFIG?= ${LOCALBASE}/bin/ijs-config + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +CPPFLAGS= `${IJS_CONFIG} --cflags` +LDFLAGS= `${IJS_CONFIG} --libs` + +post-patch: + @${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \ + s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \ + ${WRKSRC}/configure + @${PERL} -pi -e 's| ijs.[cho]||g ; \ + s| ijs_client.h||g ; \ + s| ijs_server.[cho]||g ; \ + s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in + @${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/print/hpijs/distinfo b/print/hpijs/distinfo new file mode 100644 index 000000000000..040edd8c7117 --- /dev/null +++ b/print/hpijs/distinfo @@ -0,0 +1 @@ +MD5 (ghostscript/hpijs-1.1.tar.gz) = be2ae5eb4e80a4cdce56a11fbde655fc diff --git a/print/hpijs/pkg-comment b/print/hpijs/pkg-comment new file mode 100644 index 000000000000..8a1f3b0d3a51 --- /dev/null +++ b/print/hpijs/pkg-comment @@ -0,0 +1 @@ +The drivers and support resources for the HP Inkjet Printers diff --git a/print/hpijs/pkg-descr b/print/hpijs/pkg-descr new file mode 100644 index 000000000000..a116daaa1243 --- /dev/null +++ b/print/hpijs/pkg-descr @@ -0,0 +1,5 @@ +The Hewlett-Packard Co. Linux Inkjet Driver Project is a add-on to +the GNU Ghostscript application. This driver is based on the Hewlett +Packard Appliance APDK for deskjet printers. + +WWW: http://hpinkjet.sourceforge.net/ diff --git a/print/hpijs/pkg-plist b/print/hpijs/pkg-plist new file mode 100644 index 000000000000..38777dd6f238 --- /dev/null +++ b/print/hpijs/pkg-plist @@ -0,0 +1,4 @@ +bin/hpijs +%%PORTDOCS%%share/doc/hpijs/gs_hpijs.png +%%PORTDOCS%%share/doc/hpijs/hpijs_readme.html +%%PORTDOCS%%@dirrm share/doc/hpijs |