summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-19 22:30:01 +0000
committerjlam <jlam>2005-08-19 22:30:01 +0000
commit4b3fd08372d6cd3c1bd841be07edbe588befdb43 (patch)
treefa569cdcb842d8a6754dbd8016291a0c7ef33051 /devel/gettext-lib
parent7a86cb5a550d85474a4f405e1964c7ad9e1a8119 (diff)
downloadpkgsrc-4b3fd08372d6cd3c1bd841be07edbe588befdb43.tar.gz
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 (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/Makefile11
-rw-r--r--devel/gettext-lib/PLIST4
2 files changed, 12 insertions, 3 deletions
diff --git a/devel/gettext-lib/Makefile b/devel/gettext-lib/Makefile
index 62e3fefd050..b336d4d004e 100644
--- a/devel/gettext-lib/Makefile
+++ b/devel/gettext-lib/Makefile
@@ -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 @@ MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
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 --git a/devel/gettext-lib/PLIST b/devel/gettext-lib/PLIST
index 7a79b34d3d6..fb535fa1b7a 100644
--- a/devel/gettext-lib/PLIST
+++ b/devel/gettext-lib/PLIST
@@ -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