Override sysconfdir at install time instead of patching the Makefile to
install the example config files into the examples directory.
This commit is contained in:
parent
3fa06c5531
commit
b546178b61
3 changed files with 5 additions and 17 deletions
|
@ -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"
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.5 2005/03/17 12:24:13 salo Exp $
|
||||
$NetBSD: distinfo,v 1.6 2006/04/06 16:16:38 jlam Exp $
|
||||
|
||||
SHA1 (enscript-1.6.3.tar.gz) = 2189c1f9b80160d4b2acac0f60cc7c7ff05f10aa
|
||||
RMD160 (enscript-1.6.3.tar.gz) = 7aafd03dad2e9a1fb3bbf61ed9b95ed6bef02921
|
||||
Size (enscript-1.6.3.tar.gz) = 814308 bytes
|
||||
SHA1 (patch-aa) = 4f958c8e2b01cf6934beebe249f1f67da2fb3f11
|
||||
SHA1 (patch-ab) = 13885dbd3aa0d0e90f8aa07640c4d917d7feaf13
|
||||
SHA1 (patch-ac) = 9d4d412e3016b7490741f7c6ba31d43b2be1465b
|
||||
SHA1 (patch-ad) = b2f12cc6875289978194315927ccbc8e963476a2
|
||||
SHA1 (patch-ae) = 9a3209196eea1c6ed1f07f39fb7b4f1c35cdb850
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-ac,v 1.1 2003/05/01 12:58:16 jmmv Exp $
|
||||
|
||||
--- lib/Makefile.in.orig 1998-07-01 11:28:28.000000000 +0200
|
||||
+++ lib/Makefile.in
|
||||
@@ -49,7 +49,7 @@ bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
-sysconfdir = @sysconfdir@
|
||||
+sysconfdir = @datadir@/examples/@PACKAGE@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
Loading…
Reference in a new issue