From nobody@nwww.freebsd.org  Tue May  7 08:04:11 2002
Return-Path: <nobody@nwww.freebsd.org>
Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id DF29737B404
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 May 2002 08:04:10 -0700 (PDT)
Received: from nwww.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g47F5ehG029054
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 May 2002 08:05:40 -0700 (PDT)
	(envelope-from nobody@nwww.freebsd.org)
Received: (from nobody@localhost)
	by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g47F5e5x029053;
	Tue, 7 May 2002 08:05:40 -0700 (PDT)
Message-Id: <200205071505.g47F5e5x029053@nwww.freebsd.org>
Date: Tue, 7 May 2002 08:05:40 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: print/hpijs
X-Send-Pr-Version: www-1.0

>Number:         37832
>Category:       ports
>Synopsis:       New port: print/hpijs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 07 08:10:02 PDT 2002
>Closed-Date:    Tue May 07 10:07:45 PDT 2002
>Last-Modified:  Tue May 07 10:07:45 PDT 2002
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
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/

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hpijs
#	hpijs/Makefile
#	hpijs/distinfo
#	hpijs/pkg-comment
#	hpijs/pkg-descr
#	hpijs/pkg-plist
#
echo c - hpijs
mkdir -p hpijs > /dev/null 2>&1
echo x - hpijs/Makefile
sed 's/^X//' >hpijs/Makefile << 'END-of-hpijs/Makefile'
X# New ports collection makefile for:	hpijs
X# Date created:		1 May 2002
X# Whom:			ports@FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hpijs
XPORTVERSION=	1.1
XCATEGORIES=	print
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	hpinkjet
XDIST_SUBDIR=	ghostscript
X
XMAINTAINER=	ports@FreeBSD.org
X
XLIB_DEPENDS=	ijs.1:${PORTSDIR}/print/libijs
X
XIJS_CONFIG?=	${LOCALBASE}/bin/ijs-config
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
XCPPFLAGS=	`${IJS_CONFIG} --cflags`
XLDFLAGS=	`${IJS_CONFIG} --libs`
X
Xpost-patch:
X	@${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
X		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
X			${WRKSRC}/configure
X	@${PERL} -pi -e 's| ijs.[cho]||g ; \
X		 s| ijs_client.h||g ; \
X		 s| ijs_server.[cho]||g ; \
X		 s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
X	@${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-hpijs/Makefile
echo x - hpijs/distinfo
sed 's/^X//' >hpijs/distinfo << 'END-of-hpijs/distinfo'
XMD5 (ghostscript/hpijs-1.1.tar.gz) = be2ae5eb4e80a4cdce56a11fbde655fc
END-of-hpijs/distinfo
echo x - hpijs/pkg-comment
sed 's/^X//' >hpijs/pkg-comment << 'END-of-hpijs/pkg-comment'
XThe drivers and support resources for the HP Inkjet Printers
END-of-hpijs/pkg-comment
echo x - hpijs/pkg-descr
sed 's/^X//' >hpijs/pkg-descr << 'END-of-hpijs/pkg-descr'
XThe Hewlett-Packard Co. Linux Inkjet Driver Project is a add-on to
Xthe GNU Ghostscript application. This driver is based on the Hewlett
XPackard Appliance APDK for deskjet printers.
X
XWWW: http://hpinkjet.sourceforge.net/
END-of-hpijs/pkg-descr
echo x - hpijs/pkg-plist
sed 's/^X//' >hpijs/pkg-plist << 'END-of-hpijs/pkg-plist'
Xbin/hpijs
X%%PORTDOCS%%share/doc/hpijs/gs_hpijs.png
X%%PORTDOCS%%share/doc/hpijs/hpijs_readme.html
X%%PORTDOCS%%@dirrm share/doc/hpijs
END-of-hpijs/pkg-plist
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Tue May 7 10:07:38 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37832 
>Unformatted:
