2fbcb7909c
bump PKGREVISION
38 lines
990 B
Makefile
38 lines
990 B
Makefile
# $NetBSD: Makefile,v 1.43 2009/02/25 18:44:30 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= enscript-1.6.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.iki.fi/mtr/genscript/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.codento.com/people/mtr/genscript/
|
|
COMMENT= ASCII-to-PostScript filter
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake lex perl:run xgettext
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
INFO_FILES= YES
|
|
|
|
EGDIR= ${PREFIX}/share/examples/enscript
|
|
CONF_FILES= ${EGDIR}/enscript.cfg ${PKG_SYSCONFDIR}/enscript.cfg
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
|
|
MAKE_ENV+= prefix=${PREFIX}
|
|
BUILD_DEFS+= PAPERSIZE
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
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"
|