From 2ffc73a87e864b1b5d67211d7eac8ae733a5456d Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Wed, 12 Dec 2001 06:24:34 +0000 Subject: add zclock A simple but powerful clock applet for GNOME PR: 29227 Submitted by: Zack Hobson --- x11/Makefile | 1 + x11/zclock/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ x11/zclock/distinfo | 1 + x11/zclock/pkg-comment | 1 + x11/zclock/pkg-descr | 9 +++++++++ x11/zclock/pkg-plist | 9 +++++++++ 6 files changed, 62 insertions(+) create mode 100644 x11/zclock/Makefile create mode 100644 x11/zclock/distinfo create mode 100644 x11/zclock/pkg-comment create mode 100644 x11/zclock/pkg-descr create mode 100644 x11/zclock/pkg-plist (limited to 'x11') 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 +# +# $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 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 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 -- cgit v1.2.3