aboutsummaryrefslogtreecommitdiff
path: root/security/labrea/Makefile
blob: 214c4c7d06e2b3b0fc51e3dd21c736bc11c04c73 (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
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:   LaBrea
# Date created:        20 September 2001
# Whom:                nick@rogness.net
#
# $FreeBSD$
##

PORTNAME=	LaBrea
PORTVERSION=	2.3
CATEGORIES=	security
MASTER_SITES=	http://www.hackbusters.net/LaBrea/
DISTNAME=	LaBrea${PORTVERSION:S/./_/g}
EXTRACT_SUFX=	.tgz

MAINTAINER=	nick@rogness.net
COMMENT=	Defense mechanism against CodeRed

BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet

WRKSRC=		${WRKDIR}/LaBrea
USE_REINPLACE=	yes

MAKE_ARGS=	CC="${CC}" OPTFLAGS="${CFLAGS}"

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/LaBrea
	${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
	@echo "******************************************"
	@echo "You will need to read the LaBrea.README in"
	@echo "${PREFIX}/share/doc/LaBrea"
	@echo "Before your run this!!"
	@echo "******************************************"
	@echo .
.endif

.include <bsd.port.mk>