mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c8a53c5090
your work! PR: ports/64665 Submitted by: Anders Andersson <anders@andersa.net>
35 lines
804 B
Makefile
35 lines
804 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.8.1
|
|
CATEGORIES= irc
|
|
MASTER_SITES= ftp://ninja.qoop.org/ninja/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Another ircII based irc client
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= IRCLIB="${IRCLIB}"
|
|
USE_REINPLACE= yes
|
|
|
|
IRCLIB= ${PREFIX}/share/ninja
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%IRCLIB%%|${IRCLIB}|g" \
|
|
${WRKSRC}/include/config.h.dist
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ninjawserv ${PREFIX}/bin
|
|
@${MKDIR} ${IRCLIB}/translation
|
|
${INSTALL_DATA} ${WRKSRC}/translation/* ${IRCLIB}/translation
|
|
|
|
.include <bsd.port.mk>
|