1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/irc/muh/Makefile

37 lines
972 B
Makefile
Raw Normal View History

# New ports collection makefile for: muh
# Date created: 25 Sept 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
1999-08-25 06:16:32 +00:00
# $FreeBSD$
#
PORTNAME= muh
2005-10-06 15:10:24 +00:00
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=muh
MAINTAINER= oliver@FreeBSD.org
COMMENT= A smart irc-bouncing-tool that remains on IRC all the time
GNU_CONFIGURE= yes
USE_REINPLACE= yes
.if defined(WITH_IPV6)
CONFIGURE_ARGS= "--enable-ipv6"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|=muh|=${PREFIX}/bin/muh|g" ${WRKSRC}/misc/muh-check
@${REINPLACE_CMD} -e "s/if( strlen( cfg.password ) == 13 /& || strlen( cfg.password ) == 28/" \
${WRKSRC}/src/muh.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/muh ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/misc/muh-check ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/misc/muh-rotatelog ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/misc/muhrc ${PREFIX}/share/skel/dot.muhrc
.include <bsd.port.mk>