summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-10-04 16:10:15 +0000
committerhubertf <hubertf>2002-10-04 16:10:15 +0000
commitd2aafa164ea5ec679d59ddc7cf1f68a965832dab (patch)
treea3f01aa5d6f4b80adf6c2c3a32f12248d22381ae /time
parente632f9d531e9140e6ed2df752c15c64cd2b85209 (diff)
downloadpkgsrc-d2aafa164ea5ec679d59ddc7cf1f68a965832dab.tar.gz
Import pclock-0.13.1: Simple analog clock designed for WindowMaker
pclock is a simple analog clock program designed to run under WindowMaker window manager (also runs fine on any other window manager which supports dock apps, such as PWM). Any 64x64 pixmap may be used as a background. Submitted by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18008
Diffstat (limited to 'time')
-rw-r--r--time/pclock/DESCR3
-rw-r--r--time/pclock/Makefile28
-rw-r--r--time/pclock/PLIST23
-rw-r--r--time/pclock/distinfo5
-rw-r--r--time/pclock/patches/patch-aa41
5 files changed, 100 insertions, 0 deletions
diff --git a/time/pclock/DESCR b/time/pclock/DESCR
new file mode 100644
index 00000000000..99079cf0e65
--- /dev/null
+++ b/time/pclock/DESCR
@@ -0,0 +1,3 @@
+pclock is a simple analog clock program designed to run under WindowMaker
+window manager (also runs fine on any other window manager which supports
+dock apps, such as PWM). Any 64x64 pixmap may be used as a background.
diff --git a/time/pclock/Makefile b/time/pclock/Makefile
new file mode 100644
index 00000000000..91401f8d3fe
--- /dev/null
+++ b/time/pclock/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/04 16:10:15 hubertf Exp $
+#
+
+DISTNAME= pclock-0.13.1
+CATEGORIES= time x11
+MASTER_SITES= http://bnt.kourakos.com/~awk/programs/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= salo@Xtrmntr.org
+HOMEPAGE= http://www.kourakos.com/~awk/programs/pclock/
+COMMENT= Simple analog clock designed for WindowMaker
+
+USE_X11BASE= YES
+USE_BUILDLINK_ONLY= YES
+
+MAKE_ENV+= LN=${LN}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/pclock
+ ${INSTALL_DATA} ${WRKSRC}/XPM/* ${PREFIX}/share/pclock/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pclock
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/pclock
+ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/pclock
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pclock
+
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/pclock/PLIST b/time/pclock/PLIST
new file mode 100644
index 00000000000..08e00d92ad6
--- /dev/null
+++ b/time/pclock/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/04 16:10:15 hubertf Exp $
+bin/pclock
+share/doc/pclock/CHANGES
+share/doc/pclock/CREDITS
+share/doc/pclock/README
+share/pclock/glowclock.xpm
+share/pclock/green.xpm
+share/pclock/moonphase.xpm
+share/pclock/oclock.xpm
+share/pclock/radar.xpm
+share/pclock/rolex2.xpm
+share/pclock/rolexgmt.xpm
+share/pclock/round-3d.xpm
+share/pclock/square.xpm
+share/pclock/swatch.xpm
+share/pclock/time-icon.xpm
+share/pclock/will-return.xpm
+share/pclock/wmaker-tile.xpm
+share/pclock/wood-tile.xpm
+share/pclock/wristwatch.xpm
+share/pclock/yellow-diamond.xpm
+@dirrm share/doc/pclock
+@dirrm share/pclock
diff --git a/time/pclock/distinfo b/time/pclock/distinfo
new file mode 100644
index 00000000000..3e1c41e4a6f
--- /dev/null
+++ b/time/pclock/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/04 16:10:15 hubertf Exp $
+
+SHA1 (pclock-0.13.1.tgz) = 212b8b6a05d76e70ff34fb3bd3e39ed991e2c7e1
+Size (pclock-0.13.1.tgz) = 53046 bytes
+SHA1 (patch-aa) = 964e52408117cdf0fb7186cbc2365d714834dc7c
diff --git a/time/pclock/patches/patch-aa b/time/pclock/patches/patch-aa
new file mode 100644
index 00000000000..49a08d80bc8
--- /dev/null
+++ b/time/pclock/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/04 16:10:17 hubertf Exp $
+
+--- src/Makefile.orig Thu Nov 25 21:57:58 1999
++++ src/Makefile Tue Aug 20 02:36:32 2002
+@@ -1,4 +1,4 @@
+-BINDIR = /usr/X11R6/bin
++BINDIR = ${X11PREFIX}/bin
+
+ PROG = pclock
+ OBJS = Main.o Graphics.o getopt.o getopt1.o
+@@ -5,10 +5,8 @@
+
+ DEFAULT_XPM = round-3d.xpm
+
+-INCDIR = -I/usr/X11R6/include -I.
+-LIBDIR = -L/usr/X11R6/lib
+-CC = gcc
+-CFLAGS = -O -s -Wall
++INCDIR = -I.
++LIBDIR = ${LDFLAGS}
+ LIBS = -lXpm -lXext -lX11 -lm
+
+ ###############################################################################
+@@ -16,7 +14,7 @@
+ all: $(PROG)
+
+ install: all
+- install -s -m 111 -o bin -g bin $(PROG) $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} $(PROG) $(BINDIR)
+
+ clean:
+ rm -f *.o Makefile.bak Default.xpm *~ #*
+@@ -27,7 +25,7 @@
+ ###############################################################################
+
+ Default.xpm:
+- ln -s ../XPM/$(DEFAULT_XPM) $@
++ ${LN} -s ../XPM/$(DEFAULT_XPM) $@
+
+ Graphics.o: PClock.h Default.xpm
+