aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ninja/Makefile
blob: 4a119ee0ec7c6d56b4dff6b5c117a6b4399f8fbf (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
# Version required:     1.1
# Date created:     10 April 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=   ninja-1.1-src
PKGNAME=    ninja-1.1
CATEGORIES= irc
MASTER_SITES=   ftp://ninja.qoop.org/ninja/unstable/    

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>