diff options
author | kris <kris@FreeBSD.org> | 2002-09-21 08:33:36 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-21 08:33:36 +0800 |
commit | d66a31ed92335d9b2d25862e4018794101e4f39c (patch) | |
tree | 54cfb858d97def2e8cee3cf35fb8271a4ae8155a | |
parent | 160edbe00561072cd829fa74ddc88f41678fb864 (diff) | |
download | freebsd-ports-gnome-d66a31ed92335d9b2d25862e4018794101e4f39c.tar.gz freebsd-ports-gnome-d66a31ed92335d9b2d25862e4018794101e4f39c.tar.zst freebsd-ports-gnome-d66a31ed92335d9b2d25862e4018794101e4f39c.zip |
Add duhdraw 2.6.96
DuhDraw is a program which almost perfectly simulates TheDraw for DOS.
Submitted by: mkm@ieee.org
-rw-r--r-- | graphics/Makefile | 1 | ||||
-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 |
8 files changed, 71 insertions, 0 deletions
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 <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 |