diff options
author | jlam <jlam> | 2006-04-06 16:16:38 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-04-06 16:16:38 +0000 |
commit | 7aded0b042357e45bf2367f5174d1b80a61277dd (patch) | |
tree | 5d1e1dade20816097d50dbf0df471c2398f426a9 /print/enscript/Makefile | |
parent | 51c08c2363de1708b79cc76f0059eff8480dd7ad (diff) | |
download | pkgsrc-7aded0b042357e45bf2367f5174d1b80a61277dd.tar.gz |
Override sysconfdir at install time instead of patching the Makefile to
install the example config files into the examples directory.
Diffstat (limited to 'print/enscript/Makefile')
-rw-r--r-- | print/enscript/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/print/enscript/Makefile b/print/enscript/Makefile index f0a35e229fb..763e7d2794b 100644 --- a/print/enscript/Makefile +++ b/print/enscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2006/03/04 21:30:28 jlam Exp $ +# $NetBSD: Makefile,v 1.38 2006/04/06 16:16:38 jlam Exp $ # DISTNAME= enscript-1.6.3 @@ -20,10 +20,12 @@ INFO_FILES= enscript.info EGDIR= ${PREFIX}/share/examples/enscript CONF_FILES= ${EGDIR}/enscript.cfg ${PKG_SYSCONFDIR}/enscript.cfg +INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q} .include "../../mk/bsd.prefs.mk" + .if defined(PAPERSIZE) -CONFIGURE_ARGS+=--with-media=${PAPERSIZE:Q} +CONFIGURE_ARGS+= --with-media=${PAPERSIZE:Q} .endif .include "../../devel/gettext-lib/buildlink3.mk" |