diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-11-09 08:29:50 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-11-09 08:29:50 +0000 |
commit | 94c1de03c489c7d4011af9a92793b0fbcfce8d3a (patch) | |
tree | 51aad0c68a932a8f656a075146495d599ecf9075 /audio/gkrellmms2 | |
parent | 61f29513b0499e5b4788630ef2bfc6d9a0739ce5 (diff) | |
download | ports-94c1de03c489c7d4011af9a92793b0fbcfce8d3a.tar.gz ports-94c1de03c489c7d4011af9a92793b0fbcfce8d3a.zip |
Notes
Diffstat (limited to 'audio/gkrellmms2')
-rw-r--r-- | audio/gkrellmms2/Makefile | 7 | ||||
-rw-r--r-- | audio/gkrellmms2/distinfo | 2 | ||||
-rw-r--r-- | audio/gkrellmms2/files/patch-aa | 26 | ||||
-rw-r--r-- | audio/gkrellmms2/pkg-plist | 2 |
4 files changed, 25 insertions, 12 deletions
diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile index dd045343ab44..b6621bc00c8a 100644 --- a/audio/gkrellmms2/Makefile +++ b/audio/gkrellmms2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gkrellmms -PORTVERSION= 2.1.2 +PORTVERSION= 2.1.4 CATEGORIES= audio MASTER_SITES= http://gkrellm.luon.net/files/ @@ -19,7 +19,10 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 WRKSRC= ${WRKDIR}/gkrellmms USE_X_PREFIX= yes +USE_GMAKE= yes -MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins +MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \ + LOCALEDIR=${PREFIX}/share/locale \ + enable_nls=1 .include <bsd.port.mk> diff --git a/audio/gkrellmms2/distinfo b/audio/gkrellmms2/distinfo index 189ae0b92d84..dba6f4e8e945 100644 --- a/audio/gkrellmms2/distinfo +++ b/audio/gkrellmms2/distinfo @@ -1 +1 @@ -MD5 (gkrellmms-2.1.2.tar.gz) = d9dd1afdf68b9d39ca04e4c0ce6fda4f +MD5 (gkrellmms-2.1.4.tar.gz) = efa70bf2afa781a14c3303ad00ff6104 diff --git a/audio/gkrellmms2/files/patch-aa b/audio/gkrellmms2/files/patch-aa index 91614ae32acb..f5b2a5199536 100644 --- a/audio/gkrellmms2/files/patch-aa +++ b/audio/gkrellmms2/files/patch-aa @@ -1,8 +1,8 @@ Index: Makefile diff -u Makefile.orig Makefile ---- Makefile.orig Mon Aug 26 18:11:28 2002 -+++ Makefile Sat Aug 31 00:06:01 2002 -@@ -3,25 +3,24 @@ +--- Makefile.orig Thu Nov 7 01:52:54 2002 ++++ Makefile Sat Nov 9 17:11:17 2002 +@@ -3,17 +3,17 @@ # You may want to rename the binary-file. BIN_FILENAME = gkrellmms @@ -17,18 +17,26 @@ diff -u Makefile.orig Makefile PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins -FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE) -+CFLAGS = -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE) ++CFLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE) LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB) -LFLAGS = -shared -lpthread -- ++LFLAGS = -shared + + LOCALEDIR ?= /usr/share/locale + ifeq ($(enable_nls),1) +@@ -24,9 +24,6 @@ + FLAGS += -DPACKAGE="\"$(PACKAGE)\"" + export PACKAGE LOCALEDIR + -CC ?= gcc -CC += $(CFLAGS) $(FLAGS) -+LFLAGS = -shared +- + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s - OBJS = gkrellmms.o options.o playlist.o +@@ -36,7 +33,7 @@ + (cd po && ${MAKE} all ) -+all: $(BIN_FILENAME).so -+ $(BIN_FILENAME).so: $(OBJS) - $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) + $(CC) $(CFLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) diff --git a/audio/gkrellmms2/pkg-plist b/audio/gkrellmms2/pkg-plist index 0f321a71c5f9..de18cfeae0cd 100644 --- a/audio/gkrellmms2/pkg-plist +++ b/audio/gkrellmms2/pkg-plist @@ -1 +1,3 @@ libexec/gkrellm2/plugins/gkrellmms.so +share/locale/nl/LC_MESSAGES/gkrellmms.mo +share/locale/ru/LC_MESSAGES/gkrellmms.mo |