summaryrefslogtreecommitdiff
path: root/print/hpijs
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-07 16:57:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-07 16:57:37 +0000
commit9da8f460e12dcffee40887bfbc9e68263d2f8f14 (patch)
tree4d925ac853489c6796800ed0a7056eadb4ef7ad1 /print/hpijs
parentadd libijs 0.3.4 (diff)
add hpijs 1.1
The drivers and support resources for the HP Inkjet Printers PR: 37832 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=58665
Diffstat (limited to 'print/hpijs')
-rw-r--r--print/hpijs/Makefile45
-rw-r--r--print/hpijs/distinfo1
-rw-r--r--print/hpijs/pkg-comment1
-rw-r--r--print/hpijs/pkg-descr5
-rw-r--r--print/hpijs/pkg-plist4
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