1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/irc/ninja/Makefile
Baptiste Daroussin c11f1a0a1c Fix pkg name collisions
With hat:	portmgr
2013-11-06 17:52:42 +00:00

31 lines
739 B
Makefile

# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$
PORTNAME= ninja
PORTVERSION= 1.5.8.1
CATEGORIES= irc
PKGNAMEPREFIX= irc-
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Another ircII based irc client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= IRCLIB="${DATADIR}"
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%IRCLIB%%|${DATADIR}|g" \
${WRKSRC}/include/config.h.dist
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ninjawserv ${PREFIX}/bin
@${MKDIR} ${DATADIR}/translation
${INSTALL_DATA} ${WRKSRC}/translation/* ${DATADIR}/translation
.include <bsd.port.mk>