aboutsummaryrefslogtreecommitdiffstats
path: root/security/labrea/Makefile
blob: 3084e9dd2ffe189bde670a4038d6a7fe2e7e9b48 (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
38
39
40
41
42
43
44
# New ports collection makefile for:   LaBrea
# Date created:        20 September 2001
# Whom:                nick@rogness.net
#
# $FreeBSD$
##

PORTNAME=   LaBrea
PORTVERSION=    2.4
PORTREVISION=   2
CATEGORIES= security
MASTER_SITES=   http://freebsd.rogness.net/ports/labrea/
DISTNAME=   ${PORTNAME}${PORTVERSION:S/./_/g}
EXTRACT_SUFX=   .tgz

MAINTAINER= nick@rogness.net
COMMENT=    Security tarpit defense tool

BUILD_DEPENDS=  ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config

post-patch:
    @${REINPLACE_CMD} -e \
        's|libnet-config|${LIBNET_CONFIG}|; \
         s|--defines|& --cflags|' \
         ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/bin

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

.include <bsd.port.mk>