summaryrefslogtreecommitdiff
path: root/print/gutenprint-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/gutenprint-lib/Makefile')
-rw-r--r--print/gutenprint-lib/Makefile92
1 files changed, 47 insertions, 45 deletions
diff --git a/print/gutenprint-lib/Makefile b/print/gutenprint-lib/Makefile
index 67336628faf..96901e1b1e9 100644
--- a/print/gutenprint-lib/Makefile
+++ b/print/gutenprint-lib/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2011/04/22 13:44:32 obache Exp $
+# $NetBSD: Makefile,v 1.26 2011/05/05 23:39:24 gdt Exp $
-VERSION= 5.2.6
+VERSION= 5.2.7
DISTNAME= gutenprint-${VERSION}
PKGNAME= gutenprint-lib-${VERSION}
-PKGREVISION= 4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
EXTRACT_SUFX= .tar.bz2
@@ -23,17 +22,16 @@ PRINT_PLIST_AWK+= { gsub(".${INSTALLVERSION}$$", \
PKG_DESTDIR_SUPPORT= user-destdir
-# Not sure if this works.
-#PKG_DESTDIR_SUPPORT= user-destdir
-
USE_TOOLS+= gmake lex pkg-config perl:run
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
-USE_LANGUAGES+= c99
# gcc 3.3.3 either can't compile this, or needs huge amounts of RAM (0.5G+).
# Observed on NetBSD/i386 3 and confirmed with upstream. Apparently it's
-# just 3.3.3 - there are no known issues with 2.95.
+# just 3.3.3 - there are no known issues with 2.95 or 4.x.
+USE_LANGUAGES+= c99
+
+GNU_CONFIGURE= YES
# gutenprint has many options, and really should be split into
# multiple packages. Splitting is difficult because of the structure
@@ -41,59 +39,63 @@ USE_LANGUAGES+= c99
# everything that gdt wants, because that seems more useful to users
# than not having gutenprint in pkgsrc.
-GNU_CONFIGURE= YES
-
-# XXX Make command.types be a CONF_FILE
-
# Adjust configure to disable components that we don't want. Note
-# components that should eventually be in split packages.
+# components that should eventually be in split packages. Options
+# that are on by default are commented out. Options that default to
+# on or off and are not particularly interesting are not mentioned.
-# GTK1 ui and gimp1 plugin. These are obsolete and will not
-# be supported.
-CONFIGURE_ARGS+= --disable-libgutenprintui
-CONFIGURE_ARGS+= --without-gimp
+# gdt doesn't understand what this means.
+# --enable-nls-macosx build CUPS PPD files [(automatic)]
-# CUPS support, on by default. This should be in a split package.
-#CONFIGURE_ARGS+= --with-cups
-#CONFIGURE_ARGS+= --enable-cups-1_2-enhancements
+# cups ppds (separate from cups support, probably)
+# Note that the default is to install a program which generates ppds,
+# rather than large numbers of ppds.
#CONFIGURE_ARGS+= --enable-cups-ppds
-# TODO: check status of translated cups ppds
-#CONFIGURE_ARGS+= --disable-translated-cups-ppds
-
-# Ghostscript support. This should be in a split package, if at all.
-CONFIGURE_ARGS+= --without-ghost
-
-# GTK2 ui, and gimp plugin
-#CONFIGURE_ARGS+= --enable-libgutenprintui2
-#CONFIGURE_ARGS+= --with-gimp2
-# By default, the gimp2 plugin is named gutenprint
-#CONFIGURE_ARGS+= --with-gimp2-as-gutenprint
-
-# Foomatic support. This should be in a split package, if at all.
-CONFIGURE_ARGS+= --without-foomatic
-#CONFIGURE_ARGS+= --with-foomatic3
-
+#CONFIGURE_ARGS+= --enable-cups-1_2-enhancements
# Disable translated ppds. Without this option, there are dozens of
# copies of each printer, differing in the CUPS UI only by a language
# code. The awkwardness seems to outweigh the benefit.
-CONFIGURE_ARGS+= --without-translated-ppds
+CONFIGURE_ARGS+= --disable-translated-cups-ppds
+# --enable-globalized-cups-ppds (auto)
+
+# Respect upstream's judgement about this issue, without understanding.
+# --enable-static-genppd
+
+# GTK2 ui (on by default)
+#CONFIGURE_ARGS+= --enable-libgutenprintui2
-# Sample images are small so there seems to be no point in omitting
-# them.
+# Sample images are small, so let them be included.
#CONFIGURE_ARGS+= --enable-samples
# escputil is a utility for Epson printers. It should arguably be in
-# a split package, but it is so small that there is no point, and it's
-# very useful.
-#CONFIGURE_ARGS+= --enable-escputil
+# a split package, but it's small and useful so splitting isn't worth
+# the effort.
+CONFIGURE_ARGS+= --enable-escputil
+
+# test pattern generator. Small, so let it be built
+#CONFIGURE_ARGS+= --enable-test
+#CONFIGURE_ARGS+= --enable-testpattern
+
+# CUPS support, on by default. This should be in a split package.
+#CONFIGURE_ARGS+= --with-cups
+
+# 201105: Reevaluate what this means and whether we want it.
+# Foomatic support. This should be in a split package, if at all.
+CONFIGURE_ARGS+= --without-foomatic
+CONFIGURE_ARGS+= --without-foomatic3
+
+# Ghostscript support. This should be in a split package, if at all.
+CONFIGURE_ARGS+= --without-ghostscript
# Something in gutenprint seems to use readline, but it's not clear
# why, so just disable it to reduce dependencies.
CONFIGURE_ARGS+= --without-readline
-# test pattern generator.
-#CONFIGURE_ARGS+= --disable-test
-#CONFIGURE_ARGS+= --disable-testpattern
+# gimp2 plugin, on by default, and named gutenprint
+#CONFIGURE_ARGS+= --with-gimp2
+#CONFIGURE_ARGS+= --with-gimp2-as-gutenprint
+
+# XXX Make command.types be a CONF_FILE
TEST_TARGET= check