summaryrefslogtreecommitdiff
path: root/time/pclock/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-10-04 16:10:15 +0000
committerhubertf <hubertf>2002-10-04 16:10:15 +0000
commit5052a5a893370f437d47d7d68343cd40682d8225 (patch)
treea3f01aa5d6f4b80adf6c2c3a32f12248d22381ae /time/pclock/patches
parent349cdcbe0f80c2d13a30413e6119178dde9d1e93 (diff)
downloadpkgsrc-5052a5a893370f437d47d7d68343cd40682d8225.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/pclock/patches')
-rw-r--r--time/pclock/patches/patch-aa41
1 files changed, 41 insertions, 0 deletions
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
+