aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-01-28 22:15:22 +0800
committerlofi <lofi@FreeBSD.org>2005-01-28 22:15:22 +0800
commit2fd524ad4a5d66d7a8c9cd3b3da90fc80c64f9e2 (patch)
treedc5d5c07151d238c8c80faa5bcea6ec672c43bb1 /print
parent5a5937916ea97eb59623becee2447b7579a42e29 (diff)
downloadfreebsd-ports-gnome-2fd524ad4a5d66d7a8c9cd3b3da90fc80c64f9e2.tar.gz
freebsd-ports-gnome-2fd524ad4a5d66d7a8c9cd3b3da90fc80c64f9e2.tar.zst
freebsd-ports-gnome-2fd524ad4a5d66d7a8c9cd3b3da90fc80c64f9e2.zip
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.
Diffstat (limited to 'print')
-rw-r--r--print/foomatic-filters/Makefile19
-rw-r--r--print/foomatic-filters/pkg-message12
2 files changed, 24 insertions, 7 deletions
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 <bsd.port.mk>
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
+
+*******************************************************************************