diff options
author | mycroft <mycroft@pkgsrc.org> | 2000-11-09 22:28:21 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2000-11-09 22:28:21 +0000 |
commit | ff62f806228fdea5c529109f4c9e40c53ee64ec6 (patch) | |
tree | aab979ffd2fedf1d626430092576ebd388ff8d5b /sysutils | |
parent | f537e5e3e6cf210c5e963f6e0670bc443df8510b (diff) | |
download | pkgsrc-ff62f806228fdea5c529109f4c9e40c53ee64ec6.tar.gz |
More locale crap.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gtop/Makefile | 33 | ||||
-rw-r--r-- | sysutils/gtop/files/patch-sum | 3 | ||||
-rw-r--r-- | sysutils/gtop/patches/patch-aa | 13 | ||||
-rw-r--r-- | sysutils/gtop/pkg/PLIST | 24 |
4 files changed, 68 insertions, 5 deletions
diff --git a/sysutils/gtop/Makefile b/sysutils/gtop/Makefile index 9a6d4cc46e0..1d42c39188e 100644 --- a/sysutils/gtop/Makefile +++ b/sysutils/gtop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/06/27 02:33:16 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.7 2000/11/09 22:28:21 mycroft Exp $ DISTNAME= gtop-1.0.9 CATEGORIES= sysutils gnome @@ -6,12 +6,37 @@ MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gtop/} MAINTAINER= tron@netbsd.org +BUILD_DEPENDS+= autoreconf:../../devel/autoconf +BUILD_DEPENDS+= automake:../../devel/automake DEPENDS+= gnome-core>=1.2.0:../../x11/gnome-core DEPENDS+= libgtop>=1.0.9:../../devel/libgtop -GNU_CONFIGURE= yes -USE_LIBTOOL= yes +USE_GMAKE= # defined +USE_X11BASE= # defined +USE_LIBTOOL= # defined + +GNU_CONFIGURE= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -USE_X11BASE= yes +CONFIGURE_ENV+= LOCALEBASE=${LOCALEBASE} + +PLIST_SUBST+= LOCALEBASE=${LOCALEBASE} + +AUTOGEN_ENV= NOCONFIGURE=1 +AUTOGEN_ENV+= srcdir=${WRKSRC} + +pre-configure: + cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh + +.include "../../mk/bsd.prefs.mk" + +# The directory in which locale files are found is: +# +# ${PREFIX}/${LOCALEBASE}/locale/<lang>/LC_MESSAGES +# +.if ${OPSYS} == "SunOS" +LOCALEBASE= lib +.else +LOCALEBASE= share +.endif .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/gtop/files/patch-sum b/sysutils/gtop/files/patch-sum new file mode 100644 index 00000000000..bf6e4ccf8b1 --- /dev/null +++ b/sysutils/gtop/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2000/11/09 22:28:57 mycroft Exp $ + +MD5 (patch-aa) = 7e62aa518212034296324f9293aad744 diff --git a/sysutils/gtop/patches/patch-aa b/sysutils/gtop/patches/patch-aa new file mode 100644 index 00000000000..abd0cc42b84 --- /dev/null +++ b/sysutils/gtop/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2000/11/09 22:28:58 mycroft Exp $ + +--- aclocal.m4.orig Sat May 27 16:34:36 2000 ++++ aclocal.m4 Thu Nov 9 22:21:28 2000 +@@ -1164,7 +1164,7 @@ + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo +- DATADIRNAME=lib]) ++ DATADIRNAME=${LOCALEBASE}]) + INSTOBJEXT=.mo + fi + fi diff --git a/sysutils/gtop/pkg/PLIST b/sysutils/gtop/pkg/PLIST index 446b83404b5..9eda9f26d41 100644 --- a/sysutils/gtop/pkg/PLIST +++ b/sysutils/gtop/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2000/05/31 22:24:57 tron Exp $ +@comment $NetBSD: PLIST,v 1.3 2000/11/09 22:28:22 mycroft Exp $ bin/gtop share/gnome/apps/System/gtop.desktop share/gtoprc @@ -21,6 +21,28 @@ share/gnome/help/gtop/C/memory.html share/gnome/help/gtop/C/more-info.html share/gnome/help/gtop/C/preferences.html share/gnome/help/gtop/C/processes.html +${LOCALEBASE}/locale/ca/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/cs/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/da/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/de/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/el/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/es/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/fr/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/ga/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/gl/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/hu/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/it/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/ja/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/ko/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/lt/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/no/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/pt/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/ru/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/sv/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/pl/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/uk/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/zh_CN.GB2312/LC_MESSAGES/gtop.mo +${LOCALEBASE}/locale/zh_TW.Big5/LC_MESSAGES/gtop.mo share/pixmaps/gnome-gtop.png @dirrm share/gnome/help/gtop/C/figs @dirrm share/gnome/help/gtop/C |