blob: 7bf6a7a7dff652629ff39435b05c6fdc83262462 (
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
|
# $NetBSD: Makefile,v 1.33 2017/08/16 20:45:43 wiz Exp $
#
DISTNAME= apsfilter-7.2.8
CATEGORIES= print
#MASTER_SITES= http://www.apsfilter.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.apsfilter.org/
COMMENT= Flexible magic filter for printing under Unix environment
LICENSE= gnu-gpl-v2
DEPENDS+= recode-[0-9]*:../../converters/recode
#DEPENDS+= html2ps-[0-9]*:../../print/html2ps
DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= jpeg>=6b:../../graphics/jpeg
DEPENDS+= netpbm>=9.7nb1:../../graphics/netpbm
DEPENDS+= a2ps-[0-9]*:../../print/a2ps
DEPENDS+= psutils-[0-9]*:../../print/psutils
WRKSRC= ${WRKDIR}/apsfilter
HAS_CONFIGURE= YES
USE_TOOLS+= awk:run sh:run gs:run bzip2:run gzip:run file:run tar
CONFIGURE_ARGS+=--prefix=${PREFIX}
CONFIGURE_ARGS+=--mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+=--with-shell=${SH:Q}
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=--with-awk=${AWK:Q}
PKG_SYSCONFSUBDIR= apsfilter
CONF_FILES= ${PREFIX}/share/apsfilter/template/apsfilterrc \
${PKG_SYSCONFDIR}/apsfilterrc
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= bin/apsfilter.in SETUP.in tools/prtmgmt
SUBST_SED.prefix= -e 's,/usr/local,${LOCALBASE},g'
SUBST_SED.prefix+= -e 's,/usr/X11R6,${X11BASE},g'
.include "../../mk/bsd.pkg.mk"
|