summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-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