freebsd-ports/security/rid/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

33 lines
772 B
Makefile

# ex:ts=8
# Ports collection makefile for: ddos_scan
# Date created: Sun Feb 12, 2000
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= rid
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://packetstorm.securify.com/distributed/ \
ftp://ftp.ntua.gr/pub/security/technotronic/denial/
DISTFILES= ${PORTNAME}-1_0.tgz
MAINTAINER= obrien@FreeBSD.org
ALL_TARGET= rid
pre-configure:
@${PERL} -pi -e 's:config.txt:${PREFIX}/etc/rid.conf:g' \
${WRKSRC}/config.h
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
@${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/rid.conf
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/rid
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/rid
.endif
.include <bsd.port.mk>