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

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

MAINTAINER=	ports@FreeBSD.org

GNU_CONFIGURE=	yes
PLIST_SUB=	VERSION="${PORTVERSION}"
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>