Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 08:05:40 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37832: New port: print/hpijs
Message-ID:  <200205071505.g47F5e5x029053@nwww.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37832
>Category:       ports
>Synopsis:       New port: print/hpijs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 07 08:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205071505.g47F5e5x029053>