mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
30 lines
666 B
Makefile
30 lines
666 B
Makefile
# 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>
|