aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-12 14:27:52 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-12 14:27:52 +0800
commit2491f2bf756dfd92203f41bd18eecfb8153343c5 (patch)
treea9dbfef753657521ee0f631f4f4667da7d6a96d8 /x11-clocks
parent8d4acec9c42e2c624af46e8b105c4d40cb820a5b (diff)
downloadfreebsd-ports-graphics-2491f2bf756dfd92203f41bd18eecfb8153343c5.tar.gz
freebsd-ports-graphics-2491f2bf756dfd92203f41bd18eecfb8153343c5.tar.zst
freebsd-ports-graphics-2491f2bf756dfd92203f41bd18eecfb8153343c5.zip
add zclocks
A simple but powerful clock applet for GNOME PR: 29227 Submitted by: Zack Hobson <zgh@malfunktion.net>
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/Makefile1
-rw-r--r--x11-clocks/zclock/Makefile41
-rw-r--r--x11-clocks/zclock/distinfo1
-rw-r--r--x11-clocks/zclock/pkg-comment1
-rw-r--r--x11-clocks/zclock/pkg-descr9
-rw-r--r--x11-clocks/zclock/pkg-plist9
6 files changed, 62 insertions, 0 deletions
diff --git a/x11-clocks/Makefile b/x11-clocks/Makefile
index 77020c3e524..2e94476f732 100644
--- a/x11-clocks/Makefile
+++ b/x11-clocks/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
#
+ SUBDIR += zclock
SUBDIR += abclock
SUBDIR += asclock
diff --git a/x11-clocks/zclock/Makefile b/x11-clocks/zclock/Makefile
new file mode 100644
index 00000000000..54394bd8f87
--- /dev/null
+++ b/x11-clocks/zclock/Makefile
@@ -0,0 +1,41 @@
+# Ports collection Makefile for: zclock
+# Date created: 24 July 2001
+# Whom: Zack Hobson <zgh@malfunktion.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zclock
+PORTVERSION= 1.0
+CATEGORIES= x11-clocks gnome
+MASTER_SITES= http://zack.vpop.net/download/
+
+MAINTAINER= zgh@malfunktion.net
+
+.if !defined(NOPORTDOCS)
+# I am going to install the dependencies for building the Zclock html
+# documentation. If you do not want to install these tools, run
+# make NOPORTDOCS=true
+
+# For best results (and less build warnings), install the
+# GDP stylesheet:
+# http://people.redhat.com/dcm/dsssl/gdp-both.dsl
+
+BUILD_DEPENDS+= db2html:${PORTSDIR}/textproc/dsssl-docbook-cygnus
+.endif
+
+USE_X_PREFIX= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
+ ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/zclock/distinfo b/x11-clocks/zclock/distinfo
new file mode 100644
index 00000000000..13f9eb042f0
--- /dev/null
+++ b/x11-clocks/zclock/distinfo
@@ -0,0 +1 @@
+MD5 (zclock-1.0.tar.gz) = 4b0facb5baebadf0250b2734c45ae3c3
diff --git a/x11-clocks/zclock/pkg-comment b/x11-clocks/zclock/pkg-comment
new file mode 100644
index 00000000000..332cd20934e
--- /dev/null
+++ b/x11-clocks/zclock/pkg-comment
@@ -0,0 +1 @@
+A simple but powerful clock applet for GNOME
diff --git a/x11-clocks/zclock/pkg-descr b/x11-clocks/zclock/pkg-descr
new file mode 100644
index 00000000000..6514c19f4d7
--- /dev/null
+++ b/x11-clocks/zclock/pkg-descr
@@ -0,0 +1,9 @@
+This is a port of ZClock, a simple but highly customizable clock applet for
+the GNOME desktop environment. It allows you to display the time using a
+POSIX strftime() format, and has many other useful options such as borders
+and an uptime display in the tooltip. It is meant as a power-user replacement
+for the standard GNOME clock applet.
+
+WWW: http://www.malfunktion.net/code/zclock.html
+
+-zack <zack@malfunktion.net>
diff --git a/x11-clocks/zclock/pkg-plist b/x11-clocks/zclock/pkg-plist
new file mode 100644
index 00000000000..8df9444a19b
--- /dev/null
+++ b/x11-clocks/zclock/pkg-plist
@@ -0,0 +1,9 @@
+etc/CORBA/servers/zclock.gnorba
+bin/zclock
+share/gnome/applets/Clocks/zclock.desktop
+share/gnome/help/zclock_applet/C/index.html
+share/gnome/help/zclock_applet/C/topic.dat
+share/locale/es/LC_MESSAGES/zclock.mo
+@dirrm share/gnome/help/zclock_applet/C/stylesheet-images
+@dirrm share/gnome/help/zclock_applet/C
+@dirrm share/gnome/help/zclock_applet