2007-12-28 14:00:58 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2007/12/28 19:02:22 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 06:32:57 -04:00
|
|
|
|
|
|
|
COMMENT-main= high quality print drivers
|
|
|
|
COMMENT-foomatic= Foomatic data for gutenprint drivers
|
|
|
|
COMMENT-cups= gutenprint CUPS driver
|
|
|
|
COMMENT-gimp= Gimp print plug-in
|
|
|
|
|
|
|
|
V= 5.0.1
|
|
|
|
DISTNAME= gutenprint-${V}
|
2007-12-28 14:00:58 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}p0
|
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
|
|
|
PKGNAME-foomatic= foomatic-db-${DISTNAME}
|
2007-11-20 10:48:41 -05:00
|
|
|
PKGNAME-cups= gutenprint-cups-${V}p0
|
2007-12-28 14:00:58 -05:00
|
|
|
PKGNAME-gimp= gutenprint-gimp-${V}p0
|
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
|
|
|
|
SHARED_LIBS+= gutenprint 0.0 # .2.0
|
|
|
|
SHARED_LIBS+= gutenprintui2 0.0 # .1.0
|
|
|
|
|
|
|
|
HOMEPAGE= http://gimp-print.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Jacob Meuser <jakemsr@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
|
|
|
|
|
|
|
|
PSEUDO_FLAVORS= no_foomatic no_cups no_gimp
|
|
|
|
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_cups}
|
|
|
|
MULTI_PACKAGES+= -cups
|
|
|
|
CONFIGURE_ARGS+= --with-cups=${LOCALBASE} \
|
|
|
|
--enable-cups-ppds \
|
|
|
|
--enable-cups-level3-ppds
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-cups=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !${FLAVOR:L:Mno_gimp}
|
|
|
|
MULTI_PACKAGES+= -gimp
|
|
|
|
CONFIGURE_ARGS+= --with-gimp2-as-gutenprint
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gimp2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
WANTLIB= c m z png iconv intl
|
|
|
|
|
2007-12-28 14:00:58 -05:00
|
|
|
WANTLIB-main= ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage \
|
|
|
|
Xdmcp Xext Xfixes \
|
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
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat \
|
|
|
|
freetype fontconfig glitz pango-1.0 \
|
2007-12-28 14:00:58 -05:00
|
|
|
pangocairo-1.0 pangoft2-1.0 ncurses readline pcre
|
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
|
|
|
WANTLIB-foomatic=
|
|
|
|
WANTLIB-cups= ${WANTLIB} crypto jpeg pthread ssl tiff
|
2007-12-28 14:00:58 -05:00
|
|
|
WANTLIB-gimp= ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage \
|
|
|
|
Xdmcp Xext Xfixes \
|
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
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat \
|
|
|
|
freetype fontconfig glitz pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 gdk-x11-2.0 \
|
|
|
|
gdk_pixbuf-2.0 glib-2.0 gmodule-2.0 \
|
2007-12-28 14:00:58 -05:00
|
|
|
gobject-2.0 gthread-2.0 gtk-x11-2.0 pcre 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 06:32:57 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS-main= ijs::print/ijs \
|
|
|
|
glib-2.0.>=1000,gmodule-2.0.>=1000,gobject-2.0.>=1000::devel/glib2 \
|
|
|
|
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 14:00:58 -05: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 06:32:57 -04:00
|
|
|
LIB_DEPENDS-cups= cups.>=3,cupsimage.>=2::print/cups
|
|
|
|
|
|
|
|
RUN_DEPENDS-main= ::print/ghostscript/gnu
|
|
|
|
RUN_DEPENDS-foomatic= ::${BUILD_PKGPATH}
|
2007-11-20 10:48:41 -05:00
|
|
|
RUN_DEPENDS-cups= ::${BUILD_PKGPATH} \
|
|
|
|
:ghostscript-*-cups:print/ghostscript/gnu,cups
|
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_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-test \
|
|
|
|
--enable-testpattern \
|
|
|
|
--disable-libgutenprintui \
|
|
|
|
--without-gimp \
|
|
|
|
--docdir=${PREFIX}/share/doc/gutenprint
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
am_cv_prog_tar_ustar=plaintar
|
|
|
|
|
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
MAKE_FLAGS= INTLLIBS="\$${LTLIBINTL}"
|
|
|
|
|
|
|
|
PKG_ARCH-foomatic= *
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|