pkgsrc/sysutils/gkrellm/files/po.Makefile
cube 0d50d58c8b Initial import of gkrellm, version 2.1.25, into the NetBSD Package
Collection.  This is the GTK+2 port of old gkrellm1.

Package imported from pkgsrc-wip.

With a single process, GKrellM manages multiple stacked monitors and supports
applying themes to match the monitors appearance to your window manager,
Gtk, or any other theme.

  * SMP CPU, Disk, Proc, and active net interface monitors with LEDs.
  * Internet monitor that displays current and charts historical port hits

  * Memory and swap space usage meters and a system uptime monitor.
  * File system meters show capacity/free space and can mount/umount.
  * A mailbox monitor which can launch mail reader, remote mail fetch.
  * Clock/calendar and hostname display.
  * APM laptop battery monitor.
  * CPU/motherboard temperature display if lm_sensors modules installed.

  * Multiple monitors managed by a single process to reduce system load.
  * A timer button that can execute PPP or ISDN logon/logoff scripts.
  * Charts are autoscaling with configurable grid line resolution, or
    can be set to a fixed scale mode.
  * Separate colors for "in" and "out" data.  The in color is used for
    CPU user time, disk read, forks, and net receive data.  The out color
    is used for CPU sys time, disk write, load, and net transmit data.
  * Commands can be configured to run when monitor labels are clicked.
  * GKrellM is plugin capable so special interest monitors can be created.
  * A different theme can be created with the GIMP.

While GKrellM monitors the host it is running on, it can poll a server
over the network.  The server package is named gkrellm-server.
2004-02-24 22:11:28 +00:00

36 lines
697 B
Makefile

include ../Makefile.inc
PACKAGE?= gkrellm
ifeq ($(ENABLE_NLS),yes)
FILES_PO:= $(wildcard *.po)
FILES_MO:= $(FILES_PO:.po=.mo)
else
FILES_MO=
endif
all: build
build: $(FILES_MO)
install: $(FILES_MO)
for f in $(FILES_MO); do \
$(INSTALL_DIR) $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES; \
$(INSTALL_DATA) $$f $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo; \
done
uninstall:
ifneq ($(FILES_MO),)
for f in $(FILES_MO) ; do \
rm -f $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; done
endif
clean:
ifneq ($(FILES_MO),)
$(RM) $(FILES_MO)
endif
%.mo: %.po
$(MSGFMT) $(MSGFMT_OPT) -o $@ $<
.PHONY: all build install clean uninstall