freebsd-ports/irc/ninja/Makefile
FUJISHIMA Satsuki a23c87e660 update to 1.5.3.
pass maintainership to Anders Andersson.

Submitted by:	Anders Andersson <anders@codefactory.se>
2001-08-24 15:19:57 +00:00

35 lines
841 B
Makefile

# New ports collection makefile for: Ninja-irc
# Date created: 10 April 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ninja
PORTVERSION= 1.5.3
CATEGORIES= irc
MASTER_SITES= ftp://ninja.qoop.org/ninja/sources/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= anders@codefactory.se
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= IRCLIB="${IRCLIB}"
IRCLIB= ${PREFIX}/share/ninja
pre-patch:
@${CP} ${WRKSRC}/config/configure ${WRKSRC}
post-patch:
@${PERL} -e "s|%%IRCLIB%%|${IRCLIB}|g" ${WRKSRC}/include/config.h.dist
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/source/ninja ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
@${MKDIR} ${IRCLIB}/translation
${INSTALL_DATA} ${WRKSRC}/translation/* ${IRCLIB}/translation
.include <bsd.port.mk>