From d66a31ed92335d9b2d25862e4018794101e4f39c Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 21 Sep 2002 00:33:36 +0000 Subject: Add duhdraw 2.6.96 DuhDraw is a program which almost perfectly simulates TheDraw for DOS. Submitted by: mkm@ieee.org --- graphics/Makefile | 1 + graphics/duhdraw/Makefile | 22 ++++++++++++++++++++++ graphics/duhdraw/distinfo | 1 + graphics/duhdraw/files/patch-aa | 12 ++++++++++++ graphics/duhdraw/files/patch-ab | 29 +++++++++++++++++++++++++++++ graphics/duhdraw/pkg-comment | 1 + graphics/duhdraw/pkg-descr | 1 + graphics/duhdraw/pkg-plist | 4 ++++ 8 files changed, 71 insertions(+) create mode 100644 graphics/duhdraw/Makefile create mode 100644 graphics/duhdraw/distinfo create mode 100644 graphics/duhdraw/files/patch-aa create mode 100644 graphics/duhdraw/files/patch-ab create mode 100644 graphics/duhdraw/pkg-comment create mode 100644 graphics/duhdraw/pkg-descr create mode 100644 graphics/duhdraw/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index b4eb225cc13f..420a1dbd4e18 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -46,6 +46,7 @@ SUBDIR += dri-devel SUBDIR += drm-kmod SUBDIR += dtv + SUBDIR += duhdraw SUBDIR += dumpmpeg SUBDIR += dvdrip SUBDIR += dynamechs 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 +# +# $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 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 + #include + #include +- #include + #include + #include + #include +--- 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 -- cgit