summaryrefslogtreecommitdiff
path: root/irc/ninja/Makefile
blob: 8d2fc9ef997db5c0bbb63aa49b9693c96e02a540 (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
27
# 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=	http://ninja.pimped.org/ftp/unstable/ \
		ftp://ninja.qoop.org/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>