summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-12 06:27:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-12 06:27:52 +0000
commit13bff35cb3490f747620504b3d6ed92b4d9fc4c6 (patch)
tree8f4f5c7cbf49601a816fc9ba49da3ac285b139aa /x11-clocks
parentwrong category, import later (diff)
add zclocks
A simple but powerful clock applet for GNOME PR: 29227 Submitted by: Zack Hobson <zgh@malfunktion.net>
Notes
Notes: svn path=/head/; revision=51382
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 77020c3e5242..2e94476f7323 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 000000000000..54394bd8f879
--- /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 000000000000..13f9eb042f0f
--- /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 000000000000..332cd20934e8
--- /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 000000000000..6514c19f4d7c
--- /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 000000000000..8df9444a19b6
--- /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