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.
This commit is contained in:
Michael Nottebrock 2005-01-28 14:15:22 +00:00
parent 9d3fdccee2
commit 4cc2f8ac07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127550
2 changed files with 24 additions and 7 deletions

View file

@ -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>

View file

@ -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
*******************************************************************************