aboutsummaryrefslogblamecommitdiff
path: root/irc/muh/Makefile
blob: e2872312e4b0ab0f96f86449b520a3e6d20b8bc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
 
                   
                    
                   
                                                                     
 
                                  
                                                                        
 
                   

                      
                               
      


                                                                                   
 
           



                                                                                      

                      
# Created by: Bill Fumerola <billf@chc-chimes.com>

PORTNAME=	muh
PORTVERSION=	2.2a
CATEGORIES=	irc
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	oliver@FreeBSD.org
COMMENT=	Smart irc-bouncing-tool that remains on IRC all the time

GNU_CONFIGURE=	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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/muh ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/misc/muh-check ${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/misc/muh-rotatelog ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/misc/muhrc ${STAGEDIR}${PREFIX}/share/skel/dot.muhrc

.include <bsd.port.mk>