diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-21 00:33:36 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-21 00:33:36 +0000 |
commit | 0d4fe976b0cf8c2802766f4d9d7aa69acd088d69 (patch) | |
tree | 9163c0725ffd5f7cde726b0157d78cd23cb8386a /graphics/duhdraw | |
parent | Updated to kde3. (diff) |
Add duhdraw 2.6.96
DuhDraw is a program which almost perfectly simulates TheDraw for DOS.
Submitted by: mkm@ieee.org
Notes
Notes:
svn path=/head/; revision=66942
Diffstat (limited to 'graphics/duhdraw')
-rw-r--r-- | graphics/duhdraw/Makefile | 22 | ||||
-rw-r--r-- | graphics/duhdraw/distinfo | 1 | ||||
-rw-r--r-- | graphics/duhdraw/files/patch-aa | 12 | ||||
-rw-r--r-- | graphics/duhdraw/files/patch-ab | 29 | ||||
-rw-r--r-- | graphics/duhdraw/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/duhdraw/pkg-descr | 1 | ||||
-rw-r--r-- | graphics/duhdraw/pkg-plist | 4 |
7 files changed, 70 insertions, 0 deletions
diff --git a/graphics/duhdraw/Makefile b/graphics/duhdraw/Makefile new file mode 100644 index 000000000000..f55b82bfb9fc --- /dev/null +++ b/graphics/duhdraw/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: duhdraw +# Date created: March 18 2002 +# Whom: Kyle Martin <mkm@ieee.org> +# +# $FreeBSD$ +# + +PORTNAME= duhdraw +PORTVERSION= 2.6.96 +CATEGORIES= graphics +MASTER_SITES= http://www.wwco.com/~wls/opensource/ +DISTNAME= duhdraw-2.7.1 + +MAINTAINER= mkm@ieee.org + +WRKSRC= ${WRKDIR}/duhdraw-2.7.1 +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ansi ${PREFIX}/bin/ansi + ${INSTALL_SCRIPT} ${WRKSRC}/ansitoc ${PREFIX}/bin/ansitoc + ${INSTALL_SCRIPT} ${WRKSRC}/duhdraw ${PREFIX}/bin/duhdraw + +.include <bsd.port.mk> diff --git a/graphics/duhdraw/distinfo b/graphics/duhdraw/distinfo new file mode 100644 index 000000000000..3e82c6073cb4 --- /dev/null +++ b/graphics/duhdraw/distinfo @@ -0,0 +1 @@ +MD5 (duhdraw-2.7.1.tar.gz) = 9e667706d4abde64088a4a4a3010d171 diff --git a/graphics/duhdraw/files/patch-aa b/graphics/duhdraw/files/patch-aa new file mode 100644 index 000000000000..7e4e61fa1751 --- /dev/null +++ b/graphics/duhdraw/files/patch-aa @@ -0,0 +1,12 @@ +*** duhdraw.c.old Fri Jun 21 18:04:08 2002 +--- duhdraw.c Fri Jun 21 18:04:17 2002 +*************** +*** 11,17 **** + #include <stdio.h> + #include <dirent.h> + #include <sys/stat.h> +- #include <malloc.h> + #include <time.h> + #include <curses.h> + #include <ctype.h> +--- 11,16 ---- diff --git a/graphics/duhdraw/files/patch-ab b/graphics/duhdraw/files/patch-ab new file mode 100644 index 000000000000..82131785818c --- /dev/null +++ b/graphics/duhdraw/files/patch-ab @@ -0,0 +1,29 @@ +--- Makefile.orig Thu Apr 4 19:16:01 2002 ++++ Makefile Fri Sep 20 17:28:35 2002 +@@ -1,5 +1,6 @@ + # These are the production settings +-CC=gcc -O2 -s ++CC?=cc ++CFLAGS+=-s + STRIP=strip + LIBS=-lncurses + +@@ -11,15 +12,15 @@ + all: duhdraw ansitoc ansi + + ansi: cleanansi +- $(CC) -o ansi ansi.c $(LIBS) ++ $(CC) $(CFLAGS) -o ansi ansi.c $(LIBS) + $(STRIP) ansi + + duhdraw: cleandd +- $(CC) -o duhdraw duhdraw.c $(LIBS) ++ $(CC) $(CFLAGS) -o duhdraw duhdraw.c $(LIBS) + $(STRIP) duhdraw + + ansitoc: cleanansitoc +- $(CC) -o ansitoc ansitoc.c ++ $(CC) $(CFLAGS) -o ansitoc ansitoc.c + $(STRIP) ansitoc + + cleanansi: diff --git a/graphics/duhdraw/pkg-comment b/graphics/duhdraw/pkg-comment new file mode 100644 index 000000000000..3a8dbc7a1469 --- /dev/null +++ b/graphics/duhdraw/pkg-comment @@ -0,0 +1 @@ +An ANSI graphic drawing program diff --git a/graphics/duhdraw/pkg-descr b/graphics/duhdraw/pkg-descr new file mode 100644 index 000000000000..18803f0de4de --- /dev/null +++ b/graphics/duhdraw/pkg-descr @@ -0,0 +1 @@ +DuhDraw is a program which almost perfectly simulates TheDraw for DOS. diff --git a/graphics/duhdraw/pkg-plist b/graphics/duhdraw/pkg-plist new file mode 100644 index 000000000000..a7e3997b9241 --- /dev/null +++ b/graphics/duhdraw/pkg-plist @@ -0,0 +1,4 @@ + +bin/duhdraw +bin/ansi +bin/ansitoc |