summaryrefslogtreecommitdiff
path: root/irc/ninja/Makefile
blob: 72c76354c7fbabcde279580943944abcbfdd76cd (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>
#
# $Id: Makefile,v 1.5 1999/06/19 08:25:49 cpiazza Exp $
#

DISTNAME= 	ninja-src
PKGNAME=	ninja-1.1
CATEGORIES=	irc
MASTER_SITES=	http://ninja.pimped.org/

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>