2012-08-04 10:42:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2012/08/04 14:42:04 ajacoutot Exp $
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
|
|
|
COMMENT-main= high quality print drivers
|
|
|
|
COMMENT-foomatic= Foomatic data for gutenprint drivers
|
|
|
|
|
2010-08-24 12:33:53 -04:00
|
|
|
# XXX On major update, update the gutenprint-ijs.X.X substitution in the
|
|
|
|
# print/foomatic-db port and bump.
|
2012-06-13 12:04:56 -04:00
|
|
|
V= 5.2.8
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
DISTNAME= gutenprint-${V}
|
2010-03-21 06:00:36 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-foomatic= foomatic-db-${DISTNAME}
|
2009-03-23 13:17:33 -04:00
|
|
|
|
2012-08-04 10:42:04 -04:00
|
|
|
REVISION-foomatic= 0
|
|
|
|
|
2009-03-23 13:17:33 -04:00
|
|
|
MAJOR_V= ${V:C/^([0-9]+\.[0-9]+).*/\1/}
|
|
|
|
SUBST_VARS= MAJOR_V
|
|
|
|
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-03-23 13:17:33 -04:00
|
|
|
|
|
|
|
SHARED_LIBS+= gutenprint 1.0 # .2.3
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://gimp-print.sourceforge.net/
|
|
|
|
|
2008-12-20 16:15:56 -05:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
2009-02-09 06:25:12 -05:00
|
|
|
# GPLv2
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
|
|
|
|
|
2009-12-10 06:04:35 -05:00
|
|
|
MULTI_PACKAGES= -main -foomatic
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-11-06 12:07:00 -04:00
|
|
|
WANTLIB-main += c m ncurses readline ijs ${MODGETTEXT_WANTLIB}
|
2009-12-10 06:04:35 -05:00
|
|
|
|
2012-08-04 10:42:04 -04:00
|
|
|
BUILD_DEPENDS= print/foomatic-db-engine
|
2009-12-10 06:04:35 -05:00
|
|
|
|
2009-12-10 09:12:01 -05:00
|
|
|
LIB_DEPENDS-main= ${MODGETTEXT_LIB_DEPENDS} \
|
2010-11-20 04:48:38 -05:00
|
|
|
print/ijs
|
2009-12-10 09:12:01 -05:00
|
|
|
|
|
|
|
WANTLIB-foomatic += # empty
|
|
|
|
LIB_DEPENDS-foomatic= # empty
|
2012-08-04 10:42:04 -04:00
|
|
|
RUN_DEPENDS-foomatic= ${BUILD_PKGPATH},-main
|
2009-12-10 09:12:01 -05:00
|
|
|
PKG_ARCH-foomatic= *
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
2012-08-04 10:42:04 -04:00
|
|
|
# gutenprint needs xml drivers information from foomatic-db
|
|
|
|
RUN_DEPENDS-foomatic += print/foomatic-db
|
|
|
|
|
|
|
|
# share/foomatic/db/source/*/*.xml
|
|
|
|
RUN_DEPENDS-foomatic += print/foomatic-db-engine
|
|
|
|
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-11-20 04:48:38 -05:00
|
|
|
USE_GROFF = Yes
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-test \
|
|
|
|
--enable-testpattern \
|
2009-03-23 13:17:33 -04:00
|
|
|
--enable-escputil \
|
2009-12-10 06:04:35 -05:00
|
|
|
--disable-libgutenprintui2 \
|
2009-03-23 13:17:33 -04:00
|
|
|
--with-foomatic \
|
|
|
|
--with-foomatic3 \
|
|
|
|
--with-ghostscript \
|
2009-12-10 06:04:35 -05:00
|
|
|
--with-cups=no \
|
|
|
|
--without-gimp2
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2009-08-27 07:11:04 -04:00
|
|
|
LIBS="-liconv -lintl" \
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
am_cv_prog_tar_ustar=plaintar
|
|
|
|
|
2009-03-23 13:17:33 -04:00
|
|
|
.for i in DVIPS DB2PDF DVIPDF DB2PS DB2HTML DOXYGEN TEXI2HTML CONVERT
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_$i=""
|
|
|
|
.endfor
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
|
2009-03-23 13:17:33 -04:00
|
|
|
FAKE_FLAGS= docdir=${PREFIX}/share/doc/gutenprint
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/src/gutenprintui2/plist.c
|
|
|
|
|
Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.
There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in
Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.
based on a port by jakemsr@
ok jakemsr@
2007-10-01 06:32:57 -04:00
|
|
|
.include <bsd.port.mk>
|