summaryrefslogtreecommitdiff
path: root/print/enscript/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2006-04-06 16:16:38 +0000
committerjlam <jlam>2006-04-06 16:16:38 +0000
commit7aded0b042357e45bf2367f5174d1b80a61277dd (patch)
tree5d1e1dade20816097d50dbf0df471c2398f426a9 /print/enscript/Makefile
parent51c08c2363de1708b79cc76f0059eff8480dd7ad (diff)
downloadpkgsrc-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/Makefile6
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"