From ed0bbe28c66fe4cda1ef864b8d7426f51f996058 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 15 Aug 2004 04:13:18 +0000 Subject: Install locale files into ${PREFIX}/${PKGLOCALEDIR}/locale instead of /usr/share/locale. Fix PLIST accordingly. Bump PKGREVISION. --- x11/XaoS/Makefile | 10 +++++++++- x11/XaoS/PLIST | 15 ++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) (limited to 'x11') diff --git a/x11/XaoS/Makefile b/x11/XaoS/Makefile index 143ff5c97ae..bf553e8fa56 100644 --- a/x11/XaoS/Makefile +++ b/x11/XaoS/Makefile @@ -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 @@ COMMENT= Zoomable fractal rendering doodad 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-curses-driver=no 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 --git a/x11/XaoS/PLIST b/x11/XaoS/PLIST index e268de9bf83..cc05cfd7bb4 100644 --- a/x11/XaoS/PLIST +++ b/x11/XaoS/PLIST @@ -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/square.xhf share/XaoS/tutorial/tree.xhf share/XaoS/tutorial/truecol.xaf share/XaoS/tutorial/truecol.xhf -@dirrm share/XaoS/catalogs -@dirrm share/XaoS/doc -@dirrm share/XaoS/examples -@dirrm share/XaoS/help +${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/doc +@dirrm share/XaoS/catalogs @dirrm share/XaoS -- cgit v1.2.3