2008-06-05 15:10:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2008/06/05 19:10:43 ajacoutot Exp $
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT-main= HP Unix imaging and printing
|
|
|
|
COMMENT-hpijs= HP Inkjet driver for ghostscript
|
|
|
|
COMMENT-docs= html documentation for HPLIP
|
|
|
|
|
2008-03-15 06:18:29 -04:00
|
|
|
V= 2.7.12
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
DISTNAME= hplip-${V}
|
2008-06-05 15:10:43 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}p0
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
PKGNAME-hpijs= hpijs-${V}
|
|
|
|
PKGNAME-docs= hplip-docs-${V}
|
|
|
|
|
|
|
|
SHARED_LIBS+= hpmud 0.0 # .0.0
|
|
|
|
SHARED_LIBS+= hpip 0.0 # .0.1
|
|
|
|
|
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
HOMEPAGE= http://hplip.sourceforge.net/
|
|
|
|
|
2008-03-15 06:18:29 -04:00
|
|
|
# GPLv2 - MIT (backend) - BSD (hpijs)
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hplip/}
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -hpijs -docs
|
|
|
|
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
|
|
|
|
WANTLIB= c crypto exif gphoto2 gphoto2_port jpeg ltdl m pthread \
|
|
|
|
tiff usb z
|
|
|
|
|
|
|
|
LIB_DEPENDS= sane.>=1::graphics/sane-backends \
|
|
|
|
netsnmp.>=7::net/net-snmp \
|
|
|
|
cups.>=3::print/cups
|
|
|
|
|
|
|
|
LIB_DEPENDS-main=${LIB_DEPENDS} \
|
|
|
|
hpip,hpmud::${BASE_PKGPATH},-hpijs
|
|
|
|
RUN_DEPENDS-main=${MODPY_RUN_DEPENDS} \
|
|
|
|
::print/py-reportlab/reportlab \
|
2008-03-15 06:18:29 -04:00
|
|
|
::x11/py-qt3 \
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
|
|
|
|
|
|
|
WANTLIB-hpijs= ${WANTLIB} stdc++
|
|
|
|
RUN_DEPENDS-hpijs=::print/foomatic-filters
|
|
|
|
|
|
|
|
WANTLIB-docs=
|
|
|
|
LIB_DEPENDS-docs=
|
|
|
|
RUN_DEPENDS-docs=
|
|
|
|
PKG_ARCH-docs= *
|
|
|
|
|
|
|
|
MODULES= devel/gettext lang/python
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-static \
|
|
|
|
--with-hpppddir=${LOCALBASE}/share/foomatic/db/source/PPD/HP \
|
|
|
|
--with-cupsbackenddir=${LOCALBASE}/libexec/cups/backend \
|
|
|
|
--with-icondir=${LOCALBASE}/share/applications \
|
|
|
|
--with-docdir=${PREFIX}/share/doc/hplip \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-pp-build \
|
2008-03-15 06:18:29 -04:00
|
|
|
--enable-gui-build \
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
--enable-foomatic-ppd-install \
|
|
|
|
--disable-foomatic-xml-install
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
am_cv_pathless_PYTHON=python${MODPY_VERSION}
|
|
|
|
|
2008-03-15 06:18:29 -04:00
|
|
|
post-extract:
|
|
|
|
@find ${WRKSRC} -type d -name CVS -exec rm -rf {} \; 2> /dev/null
|
|
|
|
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
pre-configure:
|
|
|
|
@find ${WRKSRC} -name \*.py | \
|
|
|
|
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
|
|
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
|
|
|
|
${WRKSRC}/installer/{core_install,dcheck}.py
|
2008-03-15 06:18:29 -04:00
|
|
|
@perl -pi -e 's,!!MODPY_BIN!!,${MODPY_BIN},g' \
|
|
|
|
${WRKSRC}/base/service.py
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ln -s ${TRUEPREFIX}/share/hplip/hpssd.py ${PREFIX}/sbin/hpssd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hplip
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/hplip.conf \
|
|
|
|
${PREFIX}/share/examples/hplip
|
2008-03-15 06:18:29 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/hplip/data/images/distros
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/images/distros/*.png \
|
|
|
|
${PREFIX}/share/hplip/data/images/distros
|
Import hplip-2.7.10
This port contains 3 subpackages:
* hplip
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Unix.
The HPLIP project provides printing support for 1,248 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP.
* hpijs (supersed print/hpijs)
The Hewlett-Packard Co. Linux Inkjet Driver Project is an add-on to the
GNU Ghostscript application. This driver is based on the Hewlett Packard
Appliance APDK for deskjet printers.
* hplip-docs
Documentation for HPLIP in HTML format.
feedback from winiger@, reviewed by bernd@
"looks correct" jasper@ , "works for me" sthen@
2007-11-02 11:48:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|