Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
time/abclock/DESCR Normal file
View File

@@ -0,0 +1,11 @@
Digital clocks are nice for telling exactly what time it is, but, unlike an
analogue clock, they don't give a spatial representation of time. They don't
show where time is coming from or going to.
On the other hand, a bitmap representation of a mechanical clock doesn't tell
time very accurately if the bitmap is very small. And curves and oblique lines
don't look very nice in a small, low-resolution bitmap.
So, this is something different: an analogue clock that isn't tied to the
design of the mechanical clock, but instead uses the natural properties of
bitmaps: straight lines and rectangles.

19
time/abclock/Makefile Normal file
View File

@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.2 2012/10/08 13:04:16 asau Exp $
DISTNAME= abclock-1.0d
CATEGORIES= time
MASTER_SITES= http://odur.let.rug.nl/~kleiweg/abclock/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://odur.let.rug.nl/~kleiweg/abclock/
COMMENT= Analogue Bitmap Clock
LICENSE= gnu-gpl-v2
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abclock ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/abc_img ${DESTDIR}${PREFIX}/bin
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
time/abclock/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $
bin/abc_img
bin/abclock

7
time/abclock/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $
SHA1 (abclock-1.0d.tar.gz) = 28dac4a0fc93b6cd37db88104c9bc377840e7d32
RMD160 (abclock-1.0d.tar.gz) = a49681af06d0554436545f2ad0d2401f8763505a
Size (abclock-1.0d.tar.gz) = 18252 bytes
SHA1 (patch-aa) = 038887a124c5110ea97902a6158e77e2b62647f4
SHA1 (patch-ab) = c15f9ea30c6662baa357d0864159b3825a2d7e97

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-aa,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $
--- Makefile.orig 2003-08-27 15:57:57.000000000 +0200
+++ Makefile
@@ -1,26 +1,17 @@
.SUFFIXES:
-CC = gcc
+CC ?= gcc
-OPT = -s -Wall
-
-XLIBDIR = -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/X11R5/lib -L/usr/X11R4/lib \
- -L/usr/lib/X11 -L/usr/lib/X11R6 -L/usr/lib/X11R5 -L/usr/lib/X11R4
-
-XINCLUDEDIR = -I/usr/X11/include -I/usr/X11R6/include -I/usr/X11R5/include -I/usr/X11R4/include \
- -I/usr/include/X11 -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/X11R4 \
- -I/usr/local/X11/include -I/usr/local/X11R6/include -I/usr/local/X11R5/include -I/usr/local/X11R4/include \
- -I/usr/local/include/X11 -I/usr/local/include/X11R6 -I/usr/local/include/X11R5 -I/usr/local/include/X11R4 \
- -I/usr/X386/include -I/usr/x386/include -I/usr/XFree86/include/X11 -I/usr/local/x11r5/include
+OPT = $(CFLAGS) -Wall
all: abclock abc_img
abclock: abclock.o abclib.o
- $(CC) $(XLIBDIR) $(OPT) -o abclock abclock.o abclib.o -lX11
+ $(CC) $(LDFLAGS) $(OPT) -o abclock abclock.o abclib.o -lX11
abc_img: abc_img.o abclib.o
- $(CC) $(OPT) -o abc_img abc_img.o abclib.o
+ $(CC) $(LDFLAGS) $(OPT) -o abc_img abc_img.o abclib.o
abclib.o: abclib.c abclib.h
$(CC) -c $(OPT) -o abclib.o abclib.c

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2011/11/08 10:49:35 ryoon Exp $
--- abclock.c.orig 2005-11-18 11:03:51.000000000 +0100
+++ abclock.c
@@ -29,7 +29,7 @@
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
-#include <values.h>
+#include <float.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>