aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-16 10:20:08 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-16 10:20:08 +0000
commit226f4fed1238d82667b9d3de06e8aa5d1f9ad44a (patch)
treec429443b34cd961d10b5ebfa03cc6542de23544a /misc
parent7472d1a4f485ebb45ce1030502a091605d10d336 (diff)
downloadports-226f4fed1238d82667b9d3de06e8aa5d1f9ad44a.tar.gz
ports-226f4fed1238d82667b9d3de06e8aa5d1f9ad44a.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellmfmonitor2/Makefile13
-rw-r--r--misc/gkrellmfmonitor2/distinfo4
-rw-r--r--misc/gkrellmfmonitor2/files/patch-aa18
3 files changed, 10 insertions, 25 deletions
diff --git a/misc/gkrellmfmonitor2/Makefile b/misc/gkrellmfmonitor2/Makefile
index 8626f5710ba4..dabe037143bd 100644
--- a/misc/gkrellmfmonitor2/Makefile
+++ b/misc/gkrellmfmonitor2/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= gkrellmfmonitor
-PORTVERSION= 2.0.2
-PORTREVISION= 3
+PORTVERSION= 2.0.4
CATEGORIES= misc
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
DISTNAME= gkrellm-fmonitor-${PORTVERSION}
@@ -22,10 +21,14 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
LATEST_LINK= gkrellmfmonitor2
-PLIST_FILES= libexec/gkrellm2/plugins/fmonitor.so
USE_X_PREFIX= yes
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+ALL_TARGET= fmonitor.so
+
+PLIST_FILES= libexec/gkrellm2/plugins/fmonitor.so
-MAKE_ENV+= MKDIR="${MKDIR}" \
- INSTALL_DATA="${INSTALL_DATA}"
+do-install:
+ @${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
+ ${INSTALL_DATA} ${WRKSRC}/fmonitor.so ${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>
diff --git a/misc/gkrellmfmonitor2/distinfo b/misc/gkrellmfmonitor2/distinfo
index 15c96b72b638..529321d4953e 100644
--- a/misc/gkrellmfmonitor2/distinfo
+++ b/misc/gkrellmfmonitor2/distinfo
@@ -1,2 +1,2 @@
-MD5 (gkrellm-fmonitor-2.0.2.tgz) = 1035290281b593f5e22576d8884c6ab5
-SIZE (gkrellm-fmonitor-2.0.2.tgz) = 9481
+MD5 (gkrellm-fmonitor-2.0.4.tgz) = 5f9c443151d117842f25899b9e0db936
+SIZE (gkrellm-fmonitor-2.0.4.tgz) = 8388
diff --git a/misc/gkrellmfmonitor2/files/patch-aa b/misc/gkrellmfmonitor2/files/patch-aa
deleted file mode 100644
index 8930eaf2edb2..000000000000
--- a/misc/gkrellmfmonitor2/files/patch-aa
+++ /dev/null
@@ -1,18 +0,0 @@
---- Makefile.orig Sun Nov 24 01:53:03 2002
-+++ Makefile Sun Nov 24 02:13:16 2002
-@@ -8,12 +8,14 @@
- OBJS = fmonitor.o
- SOBJ = fmonitor.so
-
-+all: ${SOBJ}
-
- $(SOBJ): $(OBJS)
- $(CC) -shared `pkg-config gtk+-2.0 --libs` $(OBJS) -o $(SOBJ)
-
- install:
-- cp $(SOBJ) /usr/local/lib/gkrellm2/plugins
-+ ${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
-+ ${INSTALL_DATA} ${SOBJ} ${PREFIX}/libexec/gkrellm2/plugins
-
- clean:
- rm -f *.o core *.so* *.bak *~