diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2002-05-31 09:14:50 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2002-05-31 09:14:50 +0000 |
commit | 7314ff130f658746077db25205783d5fd03bd7bb (patch) | |
tree | 7a514d95a18b3aaae77b1d693a40c3ef8e7e4d63 | |
parent | b6264310f55fd68ce8ed489a15263e39d2fc6a1c (diff) | |
download | pkgsrc-7314ff130f658746077db25205783d5fd03bd7bb.tar.gz |
Take acount of ${PKG_SYSCONFDIR}.
By Julio Merino <jmmv@hispabsd.org> in pkg/16958.
-rw-r--r-- | misc/linuxls/MESSAGE | 8 | ||||
-rw-r--r-- | misc/linuxls/Makefile | 11 |
2 files changed, 17 insertions, 2 deletions
diff --git a/misc/linuxls/MESSAGE b/misc/linuxls/MESSAGE new file mode 100644 index 00000000000..07e3ef9fe6d --- /dev/null +++ b/misc/linuxls/MESSAGE @@ -0,0 +1,8 @@ +====================================================================== +$NetBSD: MESSAGE,v 1.1 2002/05/31 09:14:50 uebayasi Exp $ + +linuxls has installed the programs linuxls and dircolors. In order +to get the later working you need to configure the file: +${PKG_SYSCONFDIR}/DIR_COLORS + +====================================================================== diff --git a/misc/linuxls/Makefile b/misc/linuxls/Makefile index 8d842def0fb..7fa1bf212c7 100644 --- a/misc/linuxls/Makefile +++ b/misc/linuxls/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.11 2002/05/11 18:02:37 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2002/05/31 09:14:50 uebayasi Exp $ # DISTNAME= fileutils-3.12 PKGNAME= linuxls-3.12.0.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -19,4 +19,11 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL GNU_CONFIGURE= yes +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | \ + while read f; do \ + ${CP} $$f $${f}.orig; \ + ${SED} -e 's|^\(etcdir = \).*$$|\1${PKG_SYSCONFDIR}|g' $${f}.orig >$$f; \ + done + .include "../../mk/bsd.pkg.mk" |