aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/duhdraw/Makefile
blob: c3b843ca0b570378a2fb2fb40f0aaa42a2f31fa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    duhdraw
# Date created:         March 18 2002
# Whom:                 Kyle Martin <mkm@ieee.org>
#
# $FreeBSD$
#

PORTNAME=   duhdraw
PORTVERSION=    2.8.13
CATEGORIES= graphics
MASTER_SITES=   http://www.cs.helsinki.fi/u/penberg/duhdraw/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An ANSI graphic drawing program

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_PROGRAM} ${WRKSRC}/ansi ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/ansitoc ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/duhdraw ${PREFIX}/bin

.include <bsd.port.mk>