summaryrefslogtreecommitdiff
path: root/misc/gkrellmbgchg2/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-19 08:59:57 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-19 08:59:57 +0000
commit23ce5e617114074a24bb8c84b8e550ac2d6df8a4 (patch)
tree9bfe96143ef1f25649164a1ae7febcde48143e41 /misc/gkrellmbgchg2/Makefile
parent- update to 1.77 (diff)
Add misc/gkrellmbgchg2 after repocopy.
A plugin for GKrellM-2, which periodically updates the desktop's background image. PR: ports/76280 Submitted by: Ports Fury
Diffstat (limited to 'misc/gkrellmbgchg2/Makefile')
-rw-r--r--misc/gkrellmbgchg2/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/misc/gkrellmbgchg2/Makefile b/misc/gkrellmbgchg2/Makefile
index c02ac14e3faf..5b36a462692e 100644
--- a/misc/gkrellmbgchg2/Makefile
+++ b/misc/gkrellmbgchg2/Makefile
@@ -5,20 +5,29 @@
# $FreeBSD$
#
-PORTNAME= gkrellmbgchg
-PORTVERSION= 0.0.4
-PORTREVISION= 1
+PORTNAME= gkrellmbgchg2
+PORTVERSION= 0.1.2
CATEGORIES= misc
MASTER_SITES= http://www.bender-suhl.de/stefan/comp/sources/
MAINTAINER= ports@FreeBSD.org
COMMENT= A plugin for GKrellM, which changes the desktop's background image
-BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
-RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
-WRKSRC= ${WRKDIR}/gkrellmbgchg-${PORTVERSION}
USE_X_PREFIX= yes
-USE_GNOME= imlib
+USE_GNOME= gtk20
+USE_REINPLACE= yes
+
+PLIST_FILES= libexec/gkrellm2/plugins/gkrellmbgchg.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/Makefile
+
+do-install:
+ @${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
+ ${INSTALL_DATA} ${WRKSRC}/gkrellmbgchg.so \
+ ${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>