aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ninja/Makefile
blob: f6070a04e7b6773e625357dac1a6ca0e08f171bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# New ports collection makefile for:    Ninja-irc
# Date created:     10 April 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ninja
PORTVERSION=    1.1
CATEGORIES= irc
MASTER_SITES=   http://ninja.qoop.org/ftp/ninja/unstable/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= cpiazza@FreeBSD.org

GNU_CONFIGURE=  yes
WRKSRC=     ${WRKDIR}/${PKGNAME}

pre-patch:
    @${CP} ${WRKSRC}/config/configure ${WRKSRC}

post-patch:
    @${SED} -e s#__PREFIX__#$(PREFIX)#g $(WRKSRC)/include/config.h.dist > $(WRKSRC)/include/config.h.dist.new
    @${MV} $(WRKSRC)/include/config.h.dist.new $(WRKSRC)/include/config.h.dist

.include <bsd.port.mk>