pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gettext-lib Install the locale.alias file into a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e37984b3719
branches:  trunk
changeset: 498328:1e37984b3719
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Aug 19 22:30:01 2005 +0000

description:
Install the locale.alias file into an example directory, and copy it
into place via REQD_FILES.  This fixes a CHECK_FILES error.  Bump the
PKGREVISION to 5.

diffstat:

 devel/gettext-lib/Makefile |  11 +++++++++--
 devel/gettext-lib/PLIST    |   4 +++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 252db8e48255 -r 1e37984b3719 devel/gettext-lib/Makefile
--- a/devel/gettext-lib/Makefile        Fri Aug 19 22:26:21 2005 +0000
+++ b/devel/gettext-lib/Makefile        Fri Aug 19 22:30:01 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2005/04/11 21:45:23 tv Exp $
+# $NetBSD: Makefile,v 1.38 2005/08/19 22:30:01 jlam Exp $
 
 DISTNAME=              gettext-0.11.5
 PKGNAME=               gettext-lib-0.11.5
 SVR4_PKGNAME=          gttli
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_GNU:=gettext/}
 
@@ -25,7 +25,14 @@
 
 BUILD_TARGET=          all-yes
 INSTALL_TARGET=                install-exec
+INSTALL_MAKE_FLAGS=    ${MAKE_FLAGS} localedir=${EGDIR}
+
 BUILD_DIRS=            ${WRKSRC}/intl
+EGDIR=                 ${PREFIX}/share/examples/gettext
+LOCALEDIR=             ${PREFIX}/${PKGLOCALEDIR}/locale
+
+USE_PKGINSTALL=                yes
+REQD_FILES+=           ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 252db8e48255 -r 1e37984b3719 devel/gettext-lib/PLIST
--- a/devel/gettext-lib/PLIST   Fri Aug 19 22:26:21 2005 +0000
+++ b/devel/gettext-lib/PLIST   Fri Aug 19 22:30:01 2005 +0000
@@ -1,3 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:25 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/08/19 22:30:01 jlam Exp $
 include/libintl.h
 lib/libintl.la
+share/examples/gettext/locale.alias
+@dirrm share/examples/gettext



Home | Main Index | Thread Index | Old Index