mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
5e5841f2cd
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
27 lines
641 B
Makefile
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>
|