2009-08-10 06:29:51 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2009/08/10 06:34:08 kili 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 10:32:57 +00:00
|
|
|
|
|
|
|
COMMENT-main= high quality print drivers
|
|
|
|
COMMENT-foomatic= Foomatic data for gutenprint drivers
|
|
|
|
COMMENT-gimp= Gimp print plug-in
|
|
|
|
|
2009-03-23 17:17:33 +00:00
|
|
|
V= 5.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 10:32:57 +00:00
|
|
|
DISTNAME= gutenprint-${V}
|
2009-08-10 06:29:51 +00:00
|
|
|
PKGNAME-main= ${DISTNAME}p1
|
2009-03-31 15:11:25 +00:00
|
|
|
PKGNAME-foomatic= foomatic-db-${DISTNAME}p0
|
2009-08-10 06:29:51 +00:00
|
|
|
PKGNAME-gimp= gutenprint-gimp-${V}p1
|
2009-03-23 17:17:33 +00: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 10:32:57 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-03-23 17:17:33 +00:00
|
|
|
|
|
|
|
SHARED_LIBS+= gutenprint 1.0 # .2.3
|
|
|
|
SHARED_LIBS+= gutenprintui2 1.0 # .1.0
|
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 10:32:57 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://gimp-print.sourceforge.net/
|
|
|
|
|
2008-12-20 21:15:56 +00: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 10:32:57 +00:00
|
|
|
|
2009-02-09 11:25:12 +00: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 10:32:57 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
|
|
|
|
|
2008-07-27 00:05:24 +00:00
|
|
|
PSEUDO_FLAVORS= no_foomatic no_gimp
|
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 10:32:57 +00:00
|
|
|
FLAVOR?=
|
|
|
|
MULTI_PACKAGES= -main
|
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_foomatic}
|
|
|
|
MULTI_PACKAGES+= -foomatic
|
|
|
|
CONFIGURE_ARGS+= --with-foomatic3
|
|
|
|
BUILD_DEPENDS+= ::print/foomatic-db-engine
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-foomatic
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_gimp}
|
|
|
|
MULTI_PACKAGES+= -gimp
|
2009-03-31 15:11:25 +00:00
|
|
|
CONFIGURE_ARGS+= --with-gimp2-as-gutenprint \
|
|
|
|
--with-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 10:32:57 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gimp2
|
|
|
|
.endif
|
|
|
|
|
2009-03-12 18:13:54 +00:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += iconv intl m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2009-08-10 06:29:51 +00:00
|
|
|
WANTLIB += pcre pixman-1 png pthread-stubs xcb z
|
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 10:32:57 +00:00
|
|
|
|
2009-03-12 18:13:54 +00:00
|
|
|
WANTLIB-main= ${WANTLIB} ncurses readline
|
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 10:32:57 +00:00
|
|
|
WANTLIB-foomatic=
|
2009-03-12 18:13:54 +00:00
|
|
|
WANTLIB-gimp= ${WANTLIB} gdk-x11-2.0 gdk_pixbuf-2.0 gthread-2.0 \
|
|
|
|
gtk-x11-2.0 pthread
|
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 10:32:57 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS-main= ijs::print/ijs \
|
|
|
|
gdk-x11-2.0.>=802,gdk_pixbuf-2.0.>=802,gtk-x11-2.0.>=802::x11/gtk+2
|
|
|
|
LIB_DEPENDS-gimp= gutenprint,gutenprintui2::${BUILD_PKGPATH} \
|
2007-12-28 19:00:58 +00:00
|
|
|
gimp-2.0,gimpbase-2.0,gimpcolor-2.0,gimpconfig-2.0,gimpmath-2.0,gimpmodule-2.0,gimpui-2.0,gimpwidgets-2.0::graphics/gimp/stable
|
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 10:32:57 +00:00
|
|
|
RUN_DEPENDS-main= ::print/ghostscript/gnu
|
|
|
|
RUN_DEPENDS-foomatic= ::${BUILD_PKGPATH}
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-test \
|
|
|
|
--enable-testpattern \
|
2009-03-23 17:17:33 +00:00
|
|
|
--enable-libgutenprintui2 \
|
|
|
|
--enable-escputil \
|
|
|
|
--with-foomatic \
|
|
|
|
--with-foomatic3 \
|
|
|
|
--with-ghostscript \
|
2008-07-27 00:05:24 +00:00
|
|
|
--with-cups=no
|
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 10:32:57 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
am_cv_prog_tar_ustar=plaintar
|
|
|
|
|
2009-03-23 17:17:33 +00: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 10:32:57 +00:00
|
|
|
|
|
|
|
PKG_ARCH-foomatic= *
|
|
|
|
|
2009-03-23 17:17:33 +00: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 10:32:57 +00:00
|
|
|
.include <bsd.port.mk>
|