blob: 1f8c75940bd97f4cdd3b1040c980600f6f157892 (
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
|
# $NetBSD: Makefile,v 1.51 2014/05/29 23:37:15 wiz Exp $
#
DISTNAME= enscript-1.6.6
PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=enscript/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/enscript/
COMMENT= ASCII-to-PostScript filter
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake lex perl:run xgettext
BROKEN_GETTEXT_DETECTION= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
INFO_FILES= YES
EGDIR= ${PREFIX}/share/examples/enscript
CONF_FILES= ${EGDIR}/enscript.cfg ${PKG_SYSCONFDIR}/enscript.cfg
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
MAKE_ENV+= prefix=${PREFIX}
BUILD_DEFS+= PAPERSIZE
INSTALLATION_DIRS+= share/enscript/afm share/enscript/hl
.include "../../mk/bsd.prefs.mk"
.if defined(PAPERSIZE)
CONFIGURE_ARGS+= --with-media=${PAPERSIZE:Q}
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|