freebsd-ports/net-im/echat/Makefile
Muhammad Moinur Rahman de42b11c73
net-im/echat: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 23:17:36 +01:00

27 lines
706 B
Makefile

PORTNAME= echat
DISTVERSION= 0.04beta1
PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://echat.deep.perm.ru/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= LAN chat program over the TCP/IP networks
WWW= http://echat.deep.perm.ru/
USES= ncurses
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|g ; \
s|PREFIX=|PREFIX?=|g ; s|CC=|CC?=|g; \
s|man/man1|share/man/man1|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>