summaryrefslogtreecommitdiff
path: root/print/foomatic4-db-engine/Makefile
diff options
context:
space:
mode:
authordrochner <drochner>2009-11-20 20:54:00 +0000
committerdrochner <drochner>2009-11-20 20:54:00 +0000
commit5f064941f100be6bdaac95bc80d57801894d9333 (patch)
tree653d49e449df895dcb0ffb2151d4824d49321022 /print/foomatic4-db-engine/Makefile
parent34fb36c496c7dea5a1154925777033cf913bc811 (diff)
downloadpkgsrc-5f064941f100be6bdaac95bc80d57801894d9333.tar.gz
add foomatic-db-engine-4.0.3 which is the dadabase engine and some
helper scripts for the foomatic-4 print system Thanks to Jens Rehsack for helping with the perl extension build
Diffstat (limited to 'print/foomatic4-db-engine/Makefile')
-rw-r--r--print/foomatic4-db-engine/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/print/foomatic4-db-engine/Makefile b/print/foomatic4-db-engine/Makefile
new file mode 100644
index 00000000000..132ff6de2d3
--- /dev/null
+++ b/print/foomatic4-db-engine/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/20 20:54:00 drochner Exp $
+#
+
+DISTNAME= foomatic-db-engine-4.0.3
+CATEGORIES= print
+MASTER_SITES= http://www.openprinting.org/download/foomatic/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
+COMMENT= Foomatic's database engine
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+CONFIGURE_ENV+= PRINTF=/usr/bin/printf
+CONFIGURE_ENV+= LIBDIR=${LOCALBASE}/share/foomatic
+CONFIGURE_ENV+= FOOMATIC_RIP=${LOCALBASE}/bin/foomatic-rip
+CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
+CONFIGURE_ENV+= CUPS_ETC=${PKG_SYSCONFBASE}/cups
+USE_TOOLS+= perl gmake
+PERL5_PACKLIST= auto/Foomatic/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_CONFIGURE= no
+PERL5_CONFIGURE_DIRS= lib
+
+# XXX generated but needs to be present before perl5-configure
+post-extract:
+ ${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm
+
+post-configure: perl5-configure
+
+.include "../../lang/perl5/module.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+# XXX wget should work too
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"