1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net-im/echat/Makefile
Pawel Pekala b4e6bff10d - Add staging support
- Move configuration info to pkg-message
2014-06-27 16:33:21 +00:00

26 lines
602 B
Makefile

# Created by: SeaD
# $FreeBSD$
PORTNAME= echat
DISTVERSION= 0.04beta1
CATEGORIES= net-im
MASTER_SITES= http://echat.deep.perm.ru/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= LAN chat program over the TCP/IP networks
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|g ; \
s|PREFIX=|PREFIX?=|g ; s|CC=|CC?=|g; \
\|^CFLAGS| { s|-g||; s|-O2||; } ; \
\|CC|s|@||; \|install|s|-s|${STRIP}|; \
s|PREFIX)|DESTDIR)$$(&|' ${WRKSRC}/Makefile
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/.echatrc.sample \
${STAGEDIR}${PREFIX}/etc/echatrc.sample
.include <bsd.port.mk>