aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/duhdraw/Makefile
blob: 9b27c9f8e57e2244b87115668d9c5d2b4f840541 (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
29
# New ports collection makefile for:    duhdraw
# Date created:         March 18 2002
# Whom:                 Kyle Martin <mkm@ieee.org>
#
# $FreeBSD$
#

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

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

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

.include <bsd.port.mk>