aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-12 14:24:34 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-12 14:24:34 +0800
commit90323004e0485361e83cbd2757449eb6ec5f8298 (patch)
treeba13ca295f7c297b7ca28bd6892c067c0b0a8791 /x11
parent8f488062d20463b797882b6c89fecc7ecbe6b5a4 (diff)
downloadfreebsd-ports-gnome-90323004e0485361e83cbd2757449eb6ec5f8298.tar.gz
freebsd-ports-gnome-90323004e0485361e83cbd2757449eb6ec5f8298.tar.zst
freebsd-ports-gnome-90323004e0485361e83cbd2757449eb6ec5f8298.zip
add zclock
A simple but powerful clock applet for GNOME PR: 29227 Submitted by: Zack Hobson <zgh@malfunktion.net>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/zclock/Makefile41
-rw-r--r--x11/zclock/distinfo1
-rw-r--r--x11/zclock/pkg-comment1
-rw-r--r--x11/zclock/pkg-descr9
-rw-r--r--x11/zclock/pkg-plist9
6 files changed, 62 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index d6e81114a6d2..b9e4ad0bc7fa 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
#
+ SUBDIR += zclock
SUBDIR += 9term
SUBDIR += XFree86
diff --git a/x11/zclock/Makefile b/x11/zclock/Makefile
new file mode 100644
index 000000000000..aa5be18c487d
--- /dev/null
+++ b/x11/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 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/zclock/distinfo b/x11/zclock/distinfo
new file mode 100644
index 000000000000..13f9eb042f0f
--- /dev/null
+++ b/x11/zclock/distinfo
@@ -0,0 +1 @@
+MD5 (zclock-1.0.tar.gz) = 4b0facb5baebadf0250b2734c45ae3c3
diff --git a/x11/zclock/pkg-comment b/x11/zclock/pkg-comment
new file mode 100644
index 000000000000..332cd20934e8
--- /dev/null
+++ b/x11/zclock/pkg-comment
@@ -0,0 +1 @@
+A simple but powerful clock applet for GNOME
diff --git a/x11/zclock/pkg-descr b/x11/zclock/pkg-descr
new file mode 100644
index 000000000000..6514c19f4d7c
--- /dev/null
+++ b/x11/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/zclock/pkg-plist b/x11/zclock/pkg-plist
new file mode 100644
index 000000000000..8df9444a19b6
--- /dev/null
+++ b/x11/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