1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net/icmpchat/Makefile
2004-02-22 02:09:15 +00:00

35 lines
893 B
Makefile

# New ports collection makefile for: icmpchat
# Date created: 8 October 2002
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= icmpchat
PORTVERSION= 0.6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= icmpchat
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple console-based chat that uses the ICMP protocol
USE_REINPLACE= yes
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.mk>