From 4cc2f8ac07483c75f53da63728b83200c962500e Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Fri, 28 Jan 2005 14:15:22 +0000 Subject: [PATCH] Remove all BUILD_DEPENDS, specify paths of possible text-to-postscript filters to configure directly and add a pkg-message that advises about possible filters to install. --- print/foomatic-filters/Makefile | 19 ++++++++++++------- print/foomatic-filters/pkg-message | 12 ++++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 print/foomatic-filters/pkg-message diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index 55ae2f7e87bf..065e198f451d 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -7,21 +7,26 @@ PORTNAME= foomatic-filters PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.linuxprinting.org/download/foomatic/ MAINTAINER= lofi@FreeBSD.org COMMENT= Foomatic wrapper scripts -BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter \ - cups-config:${PORTSDIR}/print/cups-base \ - enscript:${PORTSDIR}/print/enscript-letter \ - mpage:${PORTSDIR}/print/mpage - USE_PERL= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_path_PPR=${LOCALBASE}/lib/ppr \ +CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ + ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \ + ac_cv_path_CUPS_FILTERS=${LOCALBASE}/libexec/cups/filter \ + ac_cv_path_ENSCRIPT=${LOCALBASE}/bin/enscript \ + ac_cv_path_MPAGE=${LOCALBASE}/bin/mpage \ + ac_cv_path_PPR=${LOCALBASE}/lib/ppr \ ac_cv_path_PPR_INTERFACES=${LOCALBASE}/lib/ppr/interfaces \ - ac_cv_path_PPR_LIB=${LOCALBASE}/lib/ppr/lib + ac_cv_path_PPR_LIB=${LOCALBASE}/lib/ppr/lib \ + ac_cv_path_TEXTTOPS=${LOCALBASE}/libexec/cups/filter/texttops + +post-install: + @${CAT} ${PKGMESSAGE} .include diff --git a/print/foomatic-filters/pkg-message b/print/foomatic-filters/pkg-message new file mode 100644 index 000000000000..51b350c6f42e --- /dev/null +++ b/print/foomatic-filters/pkg-message @@ -0,0 +1,12 @@ + +******************************************************************************* + +Foomatic-rip requires at least one filter to convert text to postscript, please +install one of these filters/ports in order to complete your installation: + + a2ps - print/a2ps-[a4|letter|letterdj] + enscript - print/enscript-[a4|letter|letterdj] + mpage - print/mpage + texttops - print/cups-base + +*******************************************************************************