pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/XaoS Install locale files into ${PREFIX}/${PKGLOCA...
details: https://anonhg.NetBSD.org/pkgsrc/rev/14d0a2ec9bf7
branches: trunk
changeset: 479468:14d0a2ec9bf7
user: minskim <minskim%pkgsrc.org@localhost>
date: Sun Aug 15 04:13:18 2004 +0000
description:
Install locale files into ${PREFIX}/${PKGLOCALEDIR}/locale instead of
/usr/share/locale. Fix PLIST accordingly.
Bump PKGREVISION.
diffstat:
x11/XaoS/Makefile | 10 +++++++++-
x11/XaoS/PLIST | 15 ++++++++++-----
2 files changed, 19 insertions(+), 6 deletions(-)
diffs (62 lines):
diff -r 47ca4b63b5cb -r 14d0a2ec9bf7 x11/XaoS/Makefile
--- a/x11/XaoS/Makefile Sun Aug 15 03:28:25 2004 +0000
+++ b/x11/XaoS/Makefile Sun Aug 15 04:13:18 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/07/14 21:06:57 ben Exp $
+# $NetBSD: Makefile,v 1.10 2004/08/15 04:13:18 minskim Exp $
#
DISTNAME= XaoS-3.1
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xaos/}
@@ -12,6 +13,7 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_GNU_TOOLS= make
+USE_PKGLOCALEDIR= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-curses-driver=no
@@ -19,6 +21,12 @@
CONFIGURE_ARGS+= --with-dga-driver=no
INFO_FILES= xaos.info
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= configure
+SUBST_SED.paths= -e 's,/usr/share/locale,${PREFIX}/${PKGLOCALEDIR}/locale,g'
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 47ca4b63b5cb -r 14d0a2ec9bf7 x11/XaoS/PLIST
--- a/x11/XaoS/PLIST Sun Aug 15 03:28:25 2004 +0000
+++ b/x11/XaoS/PLIST Sun Aug 15 04:13:18 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2004/07/14 21:06:57 ben Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/08/15 04:13:18 minskim Exp $
bin/xaos
man/man6/xaos.6
share/XaoS/catalogs/README
@@ -166,9 +166,14 @@
share/XaoS/tutorial/tree.xhf
share/XaoS/tutorial/truecol.xaf
share/XaoS/tutorial/truecol.xhf
-@dirrm share/XaoS/catalogs
-@dirrm share/XaoS/doc
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/xaos.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/xaos.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xaos.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xaos.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/xaos.mo
+@dirrm share/XaoS/tutorial
+@dirrm share/XaoS/help
@dirrm share/XaoS/examples
-@dirrm share/XaoS/help
-@dirrm share/XaoS/tutorial
+@dirrm share/XaoS/doc
+@dirrm share/XaoS/catalogs
@dirrm share/XaoS
Home |
Main Index |
Thread Index |
Old Index