blob: 95d77c0062341343f9cca989fa235ef56685f87f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.3 2005/07/16 01:19:18 jlam Exp $
DISTNAME= foomatic-filters-3.0.2
CATEGORIES= print
MASTER_SITES= http://www.linuxprinting.org/download/foomatic/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.linuxprinting.org/
COMMENT= Spooler independent postscript printing filter
# You may choose from any of the following, if you wish
DEPENDS+= mpage-[0-9]*:../../print/mpage
#DEPENDS+= a2ps-[0-9]*:../../print/a2ps
#DEPENDS+= enscript-[0-9]*:../../print/enscript
CONFLICTS+= foomatic-gswrapper-[0-9]
GNU_CONFIGURE= YES
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
# Rather than wrestle with the maintainer's horribly broken configure
# scripts, we just override everything here
CONFIGURE_ENV+= CUPS=${LOCALBASE}/share/cups
CONFIGURE_ENV+= CUPS_FILTERS=${LOCALBASE}/lib/cups/filter
CONFIGURE_ENV+= PRINTCAP=/etc/printcap
USE_TOOLS+= gmake perl:run
USE_PKGINSTALL= yes
PERL5_REQD= 5.6
INSTALL_TARGET= install-bin install-man
PKG_SYSCONFSUBDIR= foomatic
EGDIR= ${PREFIX}/share/examples/foomatic-filters/
CONF_FILES= ${EGDIR}/filter.conf ${PKG_SYSCONFDIR}/filter.conf
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/filter.conf ${EGDIR}
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
|