summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-15 16:39:24 +0000
committerkrion <krion@FreeBSD.org>2004-07-15 16:39:24 +0000
commit9e3fcd4083818167268a33c4c49efc7ace26568e (patch)
treed2814633c3c40cc647309bcbfe9d602fddc2e265 /graphics
parent9ddc3d4856be656b1d95f111893df6372ba3b755 (diff)
downloadFreeBSD-ports-9e3fcd4083818167268a33c4c49efc7ace26568e.zip
FreeBSD-ports-9e3fcd4083818167268a33c4c49efc7ace26568e.tar.gz
Update to version 2.7.7
PR: ports/69108 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/duhdraw/Makefile20
-rw-r--r--graphics/duhdraw/distinfo4
-rw-r--r--graphics/duhdraw/files/patch-aa12
-rw-r--r--graphics/duhdraw/files/patch-ab29
-rw-r--r--graphics/duhdraw/pkg-descr2
-rw-r--r--graphics/duhdraw/pkg-plist4
6 files changed, 17 insertions, 54 deletions
diff --git a/graphics/duhdraw/Makefile b/graphics/duhdraw/Makefile
index 7ef9aa7..0d1446b 100644
--- a/graphics/duhdraw/Makefile
+++ b/graphics/duhdraw/Makefile
@@ -6,18 +6,24 @@
#
PORTNAME= duhdraw
-PORTVERSION= 2.6.96
+PORTVERSION= 2.7.7
CATEGORIES= graphics
-MASTER_SITES= http://www.wwco.com/~wls/opensource/
-DISTNAME= duhdraw-2.7.1
+MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/duhdraw/
MAINTAINER= ports@FreeBSD.org
COMMENT= An ANSI graphic drawing program
-WRKSRC= ${WRKDIR}/duhdraw-2.7.1
+USE_REINPLACE= yes
+MAKE_ARGS= CC="${CC} ${CFLAGS}"
+
+PLIST_FILES= bin/ansi bin/ansitoc bin/duhdraw
+
+post-patch:
+ @${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/duhdraw.c
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ansi ${PREFIX}/bin/ansi
- ${INSTALL_SCRIPT} ${WRKSRC}/ansitoc ${PREFIX}/bin/ansitoc
- ${INSTALL_SCRIPT} ${WRKSRC}/duhdraw ${PREFIX}/bin/duhdraw
+ ${INSTALL_PROGRAM} ${WRKSRC}/ansi ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ansitoc ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/duhdraw ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/graphics/duhdraw/distinfo b/graphics/duhdraw/distinfo
index dba1d21..3ed59b8 100644
--- a/graphics/duhdraw/distinfo
+++ b/graphics/duhdraw/distinfo
@@ -1,2 +1,2 @@
-MD5 (duhdraw-2.7.1.tar.gz) = 9e667706d4abde64088a4a4a3010d171
-SIZE (duhdraw-2.7.1.tar.gz) = 46652
+MD5 (duhdraw-2.7.7.tar.gz) = 555c14fe6d4a21604461eaddc978b603
+SIZE (duhdraw-2.7.7.tar.gz) = 47801
diff --git a/graphics/duhdraw/files/patch-aa b/graphics/duhdraw/files/patch-aa
deleted file mode 100644
index 7e4e61f..0000000
--- a/graphics/duhdraw/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-*** 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
deleted file mode 100644
index 8213178..0000000
--- a/graphics/duhdraw/files/patch-ab
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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-descr b/graphics/duhdraw/pkg-descr
index 18803f0..d738db7 100644
--- a/graphics/duhdraw/pkg-descr
+++ b/graphics/duhdraw/pkg-descr
@@ -1 +1,3 @@
DuhDraw is a program which almost perfectly simulates TheDraw for DOS.
+
+WWW: http://www.cs.helsinki.fi/u/penberg/duhdraw/
diff --git a/graphics/duhdraw/pkg-plist b/graphics/duhdraw/pkg-plist
deleted file mode 100644
index a7e3997..0000000
--- a/graphics/duhdraw/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-
-bin/duhdraw
-bin/ansi
-bin/ansitoc
OpenPOWER on IntegriCloud