aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/icmpchat/Makefile
blob: 4ba770d27e6c5623a78a8d789972dffef9f62f71 (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
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    icmpchat
# Date created:             8 October 2002
# Whom:                 mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=   icmpchat
PORTVERSION=    0.6
CATEGORIES= net-im
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= icmpchat

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple console-based chat that uses the ICMP protocol

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

pre-patch:
    @${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${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}/Changes ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/License ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Problems ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Todo ${DOCSDIR}
.endif

.include <bsd.port.post.mk>