- Fix PKGNAME. It has to be libgtop2-x.xx.x and not libgtop-x.xx.x.

- Remove useless libtool patch.
- Put locale files in the correct directory path. We don't install those
  files into ${LOCALBASE}/lib/locale...

Bad jasper@ and ajacoutot!

Problem noticed by steven@.
This commit is contained in:
bernd 2007-01-23 11:00:12 +00:00
parent 123618b723
commit f6f1c29c9e
4 changed files with 161 additions and 270 deletions

View File

@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.22 2007/01/18 19:31:34 jasper Exp $
# $OpenBSD: Makefile,v 1.23 2007/01/23 11:00:12 bernd Exp $
COMMENT= "portable library for obtaining system information"
DISTNAME= libgtop-2.14.6
V= 2.14.6
DISTNAME= libgtop-${V}
PKGNAME= libgtop2-${V}
SHARED_LIBS= gtop-2.0 6.0 # .7.0
CATEGORIES= devel

View File

@ -1,44 +0,0 @@
$OpenBSD: patch-ltmain_sh,v 1.9 2007/01/18 19:31:34 jasper Exp $
--- ltmain.sh 2006-09-22 15:39:45.000000000 +0200
+++ ltmain.sh 2006-09-22 16:04:57.000000000 +0200
@@ -6265,40 +6265,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit $EXIT_SUCCESS
- $echo "X----------------------------------------------------------------------" | $Xsed
- $echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- $echo " $libdir"
- done
- $echo
- $echo "If you ever happen to want to link against installed libraries"
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- $echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- $echo " during execution"
- fi
- if test -n "$runpath_var"; then
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
- $echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- $echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- $echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- $echo
- $echo "See any operating system documentation about shared libraries for"
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
- $echo "X----------------------------------------------------------------------" | $Xsed
exit $EXIT_SUCCESS
;;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.3 2007/01/23 11:00:12 bernd Exp $
--- po/Makefile.in.in.orig Tue Jan 23 11:43:14 2007
+++ po/Makefile.in.in Tue Jan 23 11:43:23 2007
@@ -34,7 +34,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
libdir = @libdir@
DATADIRNAME = @DATADIRNAME@
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+itlocaledir = @localedir@
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2007/01/18 19:31:35 jasper Exp $
@comment $OpenBSD: PLIST,v 1.14 2007/01/23 11:00:12 bernd Exp $
%%SHARED%%
bin/libgtop_daemon2
@mode 2555
@ -52,229 +52,6 @@ include/libgtop-2.0/libgtopconfig.h
@info info/libgtop2.info
lib/libgtop-2.0.a
lib/libgtop-2.0.la
lib/locale/
lib/locale/am/
lib/locale/am/LC_MESSAGES/
lib/locale/am/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ar/
lib/locale/ar/LC_MESSAGES/
lib/locale/ar/LC_MESSAGES/libgtop-2.0.mo
lib/locale/az/
lib/locale/az/LC_MESSAGES/
lib/locale/az/LC_MESSAGES/libgtop-2.0.mo
lib/locale/be/
lib/locale/be/LC_MESSAGES/
lib/locale/be/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bg/
lib/locale/bg/LC_MESSAGES/
lib/locale/bg/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bn/
lib/locale/bn/LC_MESSAGES/
lib/locale/bn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bn_IN/
lib/locale/bn_IN/LC_MESSAGES/
lib/locale/bn_IN/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bs/
lib/locale/bs/LC_MESSAGES/
lib/locale/bs/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ca/
lib/locale/ca/LC_MESSAGES/
lib/locale/ca/LC_MESSAGES/libgtop-2.0.mo
lib/locale/cs/
lib/locale/cs/LC_MESSAGES/
lib/locale/cs/LC_MESSAGES/libgtop-2.0.mo
lib/locale/cy/
lib/locale/cy/LC_MESSAGES/
lib/locale/cy/LC_MESSAGES/libgtop-2.0.mo
lib/locale/da/
lib/locale/da/LC_MESSAGES/
lib/locale/da/LC_MESSAGES/libgtop-2.0.mo
lib/locale/de/
lib/locale/de/LC_MESSAGES/
lib/locale/de/LC_MESSAGES/libgtop-2.0.mo
lib/locale/dz/
lib/locale/dz/LC_MESSAGES/
lib/locale/dz/LC_MESSAGES/libgtop-2.0.mo
lib/locale/el/
lib/locale/el/LC_MESSAGES/
lib/locale/el/LC_MESSAGES/libgtop-2.0.mo
lib/locale/en_CA/
lib/locale/en_CA/LC_MESSAGES/
lib/locale/en_CA/LC_MESSAGES/libgtop-2.0.mo
lib/locale/en_GB/
lib/locale/en_GB/LC_MESSAGES/
lib/locale/en_GB/LC_MESSAGES/libgtop-2.0.mo
lib/locale/eo/
lib/locale/eo/LC_MESSAGES/
lib/locale/eo/LC_MESSAGES/libgtop-2.0.mo
lib/locale/es/
lib/locale/es/LC_MESSAGES/
lib/locale/es/LC_MESSAGES/libgtop-2.0.mo
lib/locale/et/
lib/locale/et/LC_MESSAGES/
lib/locale/et/LC_MESSAGES/libgtop-2.0.mo
lib/locale/eu/
lib/locale/eu/LC_MESSAGES/
lib/locale/eu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fa/
lib/locale/fa/LC_MESSAGES/
lib/locale/fa/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fi/
lib/locale/fi/LC_MESSAGES/
lib/locale/fi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fr/
lib/locale/fr/LC_MESSAGES/
lib/locale/fr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ga/
lib/locale/ga/LC_MESSAGES/
lib/locale/ga/LC_MESSAGES/libgtop-2.0.mo
lib/locale/gl/
lib/locale/gl/LC_MESSAGES/
lib/locale/gl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/gu/
lib/locale/gu/LC_MESSAGES/
lib/locale/gu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/he/
lib/locale/he/LC_MESSAGES/
lib/locale/he/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hi/
lib/locale/hi/LC_MESSAGES/
lib/locale/hi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hr/
lib/locale/hr/LC_MESSAGES/
lib/locale/hr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hu/
lib/locale/hu/LC_MESSAGES/
lib/locale/hu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/id/
lib/locale/id/LC_MESSAGES/
lib/locale/id/LC_MESSAGES/libgtop-2.0.mo
lib/locale/it/
lib/locale/it/LC_MESSAGES/
lib/locale/it/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ja/
lib/locale/ja/LC_MESSAGES/
lib/locale/ja/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ka/
lib/locale/ka/LC_MESSAGES/
lib/locale/ka/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ko/
lib/locale/ko/LC_MESSAGES/
lib/locale/ko/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ku/
lib/locale/ku/LC_MESSAGES/
lib/locale/ku/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ky/
lib/locale/ky/LC_MESSAGES/
lib/locale/ky/LC_MESSAGES/libgtop-2.0.mo
lib/locale/lt/
lib/locale/lt/LC_MESSAGES/
lib/locale/lt/LC_MESSAGES/libgtop-2.0.mo
lib/locale/lv/
lib/locale/lv/LC_MESSAGES/
lib/locale/lv/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mg/
lib/locale/mg/LC_MESSAGES/
lib/locale/mg/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mi/
lib/locale/mi/LC_MESSAGES/
lib/locale/mi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mk/
lib/locale/mk/LC_MESSAGES/
lib/locale/mk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ml/
lib/locale/ml/LC_MESSAGES/
lib/locale/ml/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mn/
lib/locale/mn/LC_MESSAGES/
lib/locale/mn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ms/
lib/locale/ms/LC_MESSAGES/
lib/locale/ms/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nb/
lib/locale/nb/LC_MESSAGES/
lib/locale/nb/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ne/
lib/locale/ne/LC_MESSAGES/
lib/locale/ne/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nl/
lib/locale/nl/LC_MESSAGES/
lib/locale/nl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nn/
lib/locale/nn/LC_MESSAGES/
lib/locale/nn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/or/
lib/locale/or/LC_MESSAGES/
lib/locale/or/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pa/
lib/locale/pa/LC_MESSAGES/
lib/locale/pa/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pl/
lib/locale/pl/LC_MESSAGES/
lib/locale/pl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pt/
lib/locale/pt/LC_MESSAGES/
lib/locale/pt/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pt_BR/
lib/locale/pt_BR/LC_MESSAGES/
lib/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ro/
lib/locale/ro/LC_MESSAGES/
lib/locale/ro/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ru/
lib/locale/ru/LC_MESSAGES/
lib/locale/ru/LC_MESSAGES/libgtop-2.0.mo
lib/locale/rw/
lib/locale/rw/LC_MESSAGES/
lib/locale/rw/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sk/
lib/locale/sk/LC_MESSAGES/
lib/locale/sk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sl/
lib/locale/sl/LC_MESSAGES/
lib/locale/sl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sq/
lib/locale/sq/LC_MESSAGES/
lib/locale/sq/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sr/
lib/locale/sr/LC_MESSAGES/
lib/locale/sr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sr@Latn/
lib/locale/sr@Latn/LC_MESSAGES/
lib/locale/sr@Latn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sv/
lib/locale/sv/LC_MESSAGES/
lib/locale/sv/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ta/
lib/locale/ta/LC_MESSAGES/
lib/locale/ta/LC_MESSAGES/libgtop-2.0.mo
lib/locale/te/
lib/locale/te/LC_MESSAGES/
lib/locale/te/LC_MESSAGES/libgtop-2.0.mo
lib/locale/th/
lib/locale/th/LC_MESSAGES/
lib/locale/th/LC_MESSAGES/libgtop-2.0.mo
lib/locale/tr/
lib/locale/tr/LC_MESSAGES/
lib/locale/tr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/uk/
lib/locale/uk/LC_MESSAGES/
lib/locale/uk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/vi/
lib/locale/vi/LC_MESSAGES/
lib/locale/vi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/xh/
lib/locale/xh/LC_MESSAGES/
lib/locale/xh/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_CN/
lib/locale/zh_CN/LC_MESSAGES/
lib/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_HK/
lib/locale/zh_HK/LC_MESSAGES/
lib/locale/zh_HK/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_TW/
lib/locale/zh_TW/LC_MESSAGES/
lib/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo
lib/pkgconfig/
lib/pkgconfig/libgtop-2.0.pc
share/gtk-doc/
@ -328,3 +105,147 @@ share/gtk-doc/html/libgtop/libgtop.devhelp2
share/gtk-doc/html/libgtop/right.png
share/gtk-doc/html/libgtop/style.css
share/gtk-doc/html/libgtop/up.png
share/locale/am/
share/locale/am/LC_MESSAGES/
share/locale/am/LC_MESSAGES/libgtop-2.0.mo
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/libgtop-2.0.mo
share/locale/az/
share/locale/az/LC_MESSAGES/
share/locale/az/LC_MESSAGES/libgtop-2.0.mo
share/locale/be/LC_MESSAGES/libgtop-2.0.mo
share/locale/bg/LC_MESSAGES/libgtop-2.0.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/libgtop-2.0.mo
share/locale/bn_IN/
share/locale/bn_IN/LC_MESSAGES/
share/locale/bn_IN/LC_MESSAGES/libgtop-2.0.mo
share/locale/bs/
share/locale/bs/LC_MESSAGES/
share/locale/bs/LC_MESSAGES/libgtop-2.0.mo
share/locale/ca/LC_MESSAGES/libgtop-2.0.mo
share/locale/cs/LC_MESSAGES/libgtop-2.0.mo
share/locale/cy/
share/locale/cy/LC_MESSAGES/
share/locale/cy/LC_MESSAGES/libgtop-2.0.mo
share/locale/da/LC_MESSAGES/libgtop-2.0.mo
share/locale/de/LC_MESSAGES/libgtop-2.0.mo
share/locale/dz/
share/locale/dz/LC_MESSAGES/
share/locale/dz/LC_MESSAGES/libgtop-2.0.mo
share/locale/el/LC_MESSAGES/libgtop-2.0.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
share/locale/en_CA/LC_MESSAGES/libgtop-2.0.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/libgtop-2.0.mo
share/locale/eo/LC_MESSAGES/libgtop-2.0.mo
share/locale/es/LC_MESSAGES/libgtop-2.0.mo
share/locale/et/LC_MESSAGES/libgtop-2.0.mo
share/locale/eu/
share/locale/eu/LC_MESSAGES/
share/locale/eu/LC_MESSAGES/libgtop-2.0.mo
share/locale/fa/
share/locale/fa/LC_MESSAGES/
share/locale/fa/LC_MESSAGES/libgtop-2.0.mo
share/locale/fi/LC_MESSAGES/libgtop-2.0.mo
share/locale/fr/LC_MESSAGES/libgtop-2.0.mo
share/locale/ga/LC_MESSAGES/libgtop-2.0.mo
share/locale/gl/LC_MESSAGES/libgtop-2.0.mo
share/locale/gu/
share/locale/gu/LC_MESSAGES/
share/locale/gu/LC_MESSAGES/libgtop-2.0.mo
share/locale/he/LC_MESSAGES/libgtop-2.0.mo
share/locale/hi/
share/locale/hi/LC_MESSAGES/
share/locale/hi/LC_MESSAGES/libgtop-2.0.mo
share/locale/hr/LC_MESSAGES/libgtop-2.0.mo
share/locale/hu/LC_MESSAGES/libgtop-2.0.mo
share/locale/id/LC_MESSAGES/libgtop-2.0.mo
share/locale/it/LC_MESSAGES/libgtop-2.0.mo
share/locale/ja/LC_MESSAGES/libgtop-2.0.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/libgtop-2.0.mo
share/locale/ko/LC_MESSAGES/libgtop-2.0.mo
share/locale/ku/
share/locale/ku/LC_MESSAGES/
share/locale/ku/LC_MESSAGES/libgtop-2.0.mo
share/locale/ky/
share/locale/ky/LC_MESSAGES/
share/locale/ky/LC_MESSAGES/libgtop-2.0.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/libgtop-2.0.mo
share/locale/lv/LC_MESSAGES/libgtop-2.0.mo
share/locale/mg/
share/locale/mg/LC_MESSAGES/
share/locale/mg/LC_MESSAGES/libgtop-2.0.mo
share/locale/mi/
share/locale/mi/LC_MESSAGES/
share/locale/mi/LC_MESSAGES/libgtop-2.0.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/libgtop-2.0.mo
share/locale/ml/
share/locale/ml/LC_MESSAGES/
share/locale/ml/LC_MESSAGES/libgtop-2.0.mo
share/locale/mn/
share/locale/mn/LC_MESSAGES/
share/locale/mn/LC_MESSAGES/libgtop-2.0.mo
share/locale/ms/
share/locale/ms/LC_MESSAGES/
share/locale/ms/LC_MESSAGES/libgtop-2.0.mo
share/locale/nb/LC_MESSAGES/libgtop-2.0.mo
share/locale/ne/
share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/libgtop-2.0.mo
share/locale/nl/LC_MESSAGES/libgtop-2.0.mo
share/locale/nn/LC_MESSAGES/libgtop-2.0.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/libgtop-2.0.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/libgtop-2.0.mo
share/locale/pl/LC_MESSAGES/libgtop-2.0.mo
share/locale/pt/LC_MESSAGES/libgtop-2.0.mo
share/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
share/locale/ro/LC_MESSAGES/libgtop-2.0.mo
share/locale/ru/LC_MESSAGES/libgtop-2.0.mo
share/locale/rw/
share/locale/rw/LC_MESSAGES/
share/locale/rw/LC_MESSAGES/libgtop-2.0.mo
share/locale/sk/LC_MESSAGES/libgtop-2.0.mo
share/locale/sl/LC_MESSAGES/libgtop-2.0.mo
share/locale/sq/
share/locale/sq/LC_MESSAGES/
share/locale/sq/LC_MESSAGES/libgtop-2.0.mo
share/locale/sr/LC_MESSAGES/libgtop-2.0.mo
share/locale/sr@Latn/
share/locale/sr@Latn/LC_MESSAGES/
share/locale/sr@Latn/LC_MESSAGES/libgtop-2.0.mo
share/locale/sv/LC_MESSAGES/libgtop-2.0.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/libgtop-2.0.mo
share/locale/te/
share/locale/te/LC_MESSAGES/
share/locale/te/LC_MESSAGES/libgtop-2.0.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/libgtop-2.0.mo
share/locale/tr/LC_MESSAGES/libgtop-2.0.mo
share/locale/uk/LC_MESSAGES/libgtop-2.0.mo
share/locale/vi/LC_MESSAGES/libgtop-2.0.mo
share/locale/xh/
share/locale/xh/LC_MESSAGES/
share/locale/xh/LC_MESSAGES/libgtop-2.0.mo
share/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
share/locale/zh_HK/
share/locale/zh_HK/LC_MESSAGES/
share/locale/zh_HK/LC_MESSAGES/libgtop-2.0.mo
share/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo