1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/irc/ninja/Makefile
Satoshi Asami 5e5841f2cd Eliminate WRKSRC=${WRKDIR}/${PKGNAME} lines, as these will break when
PORTREVISION or PORTEPOCH are defined.

Most of these Makefiles were defining DISTNAME and WRKSRC (and
sometimes EXTRACT_SUFX) -- change those to define DISTFILES only.
Also, some of the WRKSRC lines were not even necessary, as they were
defining it to the default value.

Instigated by:	Peter Pentchev <roam@orbitel.bg> and kris
2000-09-25 12:21:43 +00:00

27 lines
641 B
Makefile

# 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/
DISTFILES= ${DISTNAME}-src.tar.gz
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
PLIST_SUB= VERSION="${PORTVERSION}"
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>