aboutsummaryrefslogtreecommitdiffstats
path: root/net/icmpchat/Makefile
blob: adca2634941fcd36df97c32b7ebda17eeefd22bb (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:    icmpchat
# Date created:             8 October 2002
# Whom:                 mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=   icmpchat
PORTVERSION=    0.5.1
CATEGORIES= net
MASTER_SITES=   http://www.codito.de/prog/

MAINTAINER= mwest@uct.ac.za
COMMENT=    Simple chat program based on the ICMP protocol

USE_REINPLACE=  yes

pre-patch:
    @${REINPLACE_CMD} -e 's|-O3 -Wall|${CFLAGS}|;s|= gcc|?= gcc|; \
        s|default|all|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/icmpchat ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>