1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Update to version 2.7.7

PR:		ports/69108
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-07-15 16:39:24 +00:00
parent ab0a69baeb
commit da094644fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113723
6 changed files with 17 additions and 54 deletions

View File

@ -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>

View File

@ -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

View File

@ -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 ----

View File

@ -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:

View File

@ -1 +1,3 @@
DuhDraw is a program which almost perfectly simulates TheDraw for DOS.
WWW: http://www.cs.helsinki.fi/u/penberg/duhdraw/

View File

@ -1,4 +0,0 @@
bin/duhdraw
bin/ansi
bin/ansitoc