aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-15 16:39:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-15 16:39:24 +0000
commitda094644fa4e1caa88b711c1d9c2c27ba30220b2 (patch)
tree6fec18127d76ca7f164255327181a0d56b9b287e /graphics
parentab0a69baeb6202bb22128e2bfbb7b2c5c90996a2 (diff)
downloadports-da094644fa4e1caa88b711c1d9c2c27ba30220b2.tar.gz
ports-da094644fa4e1caa88b711c1d9c2c27ba30220b2.zip
Update to version 2.7.7
PR: ports/69108 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=113723
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 7ef9aa757019..0d1446b02526 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 dba1d21cd38e..3ed59b849431 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 7e4e61fa1751..000000000000
--- 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 82131785818c..000000000000
--- 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 18803f0de4de..d738db7158a5 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 a7e3997b9241..000000000000
--- a/graphics/duhdraw/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-
-bin/duhdraw
-bin/ansi
-bin/ansitoc