summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-02-16 11:51:46 +0000
committerwiz <wiz@pkgsrc.org>2009-02-16 11:51:46 +0000
commitc0cc0c939b9371fa11b77a5c41b93914512cc8f2 (patch)
tree7e452c6981ab11eee327c243c7c0bd52ec164269 /time
parent5d06b6fe96e71317942a0a13c31e9fbb70512832 (diff)
downloadpkgsrc-c0cc0c939b9371fa11b77a5c41b93914512cc8f2.tar.gz
Re-import of time/wmcalclock to match its DISTNAME.
Diffstat (limited to 'time')
-rw-r--r--time/wmCalClock/DESCR2
-rw-r--r--time/wmCalClock/Makefile33
-rw-r--r--time/wmCalClock/PLIST3
-rw-r--r--time/wmCalClock/distinfo6
-rw-r--r--time/wmCalClock/patches/patch-aa21
5 files changed, 65 insertions, 0 deletions
diff --git a/time/wmCalClock/DESCR b/time/wmCalClock/DESCR
new file mode 100644
index 00000000000..f1393356c88
--- /dev/null
+++ b/time/wmCalClock/DESCR
@@ -0,0 +1,2 @@
+wmCalClock is a simple Calendar Clock that uses anti-aliased characters and
+drop shadows.
diff --git a/time/wmCalClock/Makefile b/time/wmCalClock/Makefile
new file mode 100644
index 00000000000..4d1c5ad835c
--- /dev/null
+++ b/time/wmCalClock/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/16 11:51:46 wiz Exp $
+#
+
+DISTNAME= wmCalClock-1.25
+PKGREVISION= 1
+CATEGORIES= x11 time
+MASTER_SITES= http://reality.sgiweb.org/freeware/source/wmCalClock/
+
+MAINTAINER= wiz@NetBSD.org
+# HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+COMMENT= Another WindowMaker calendar/clock dockapp
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+USE_TOOLS+= gmake
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= EXTRALIBS="-lsocket -lnsl"
+.endif
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${DESTDIR}${PREFIX}/bin
+
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/wmCalClock/PLIST b/time/wmCalClock/PLIST
new file mode 100644
index 00000000000..4c5fb263df7
--- /dev/null
+++ b/time/wmCalClock/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/16 11:51:46 wiz Exp $
+bin/wmCalClock
+man/man1/wmCalClock.1
diff --git a/time/wmCalClock/distinfo b/time/wmCalClock/distinfo
new file mode 100644
index 00000000000..95d60066d31
--- /dev/null
+++ b/time/wmCalClock/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/16 11:51:46 wiz Exp $
+
+SHA1 (wmCalClock-1.25.tar.gz) = 029bdda7ec7e93ed4b29b67936b40729e7f1dcdc
+RMD160 (wmCalClock-1.25.tar.gz) = d8c2e3837fe84fcacc357401496ae11b1f770e52
+Size (wmCalClock-1.25.tar.gz) = 71574 bytes
+SHA1 (patch-aa) = 3ade88a3f671615fedbf4e1f41473e8e19c48ec2
diff --git a/time/wmCalClock/patches/patch-aa b/time/wmCalClock/patches/patch-aa
new file mode 100644
index 00000000000..e42ead4fcea
--- /dev/null
+++ b/time/wmCalClock/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/02/16 11:51:46 wiz Exp $
+
+--- Makefile.orig Sat Mar 27 01:46:38 1999
++++ Makefile
+@@ -1,11 +1,11 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
++#CC = gcc
++#CFLAGS = -O2 -Wall
++INCDIR = ${CFLAGS}
+ DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++LIBDIR = ${LDFLAGS}
+
+ # for Linux
+-LIBS = -lXpm -lX11 -lXext
++LIBS = -lXpm -lX11 -lXext ${EXTRALIBS}
+
+ # for Solaris
+ # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl