aboutsummaryrefslogtreecommitdiffstats
path: root/security/hostsentry/Makefile
blob: 27e667daeb99b5fdb431ece5bb4f2ed3fc85b9bc (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
45
46
47
48
# New ports collection makefile for:   hostsentry
# Date created:        7 February 2003
# Whom:                Andre Ramos <andre.ramos@netcabo.pt>
#
# $FreeBSD$
#

PORTNAME=   hostsentry
PORTVERSION=    0.02
PORTREVISION=   2
CATEGORIES= security
MASTER_SITES=   ftp://ftp.netsys.com/len/ \
        ${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR= UNIX/IDS

MAINTAINER= mranner@inode.at
COMMENT=    A Login Anomaly Detector

RUN_DEPENDS=    ${PYTHONPREFIX_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm

USE_PYTHON= yes
USE_REINPLACE=  yes

PKGMESSAGE= ${WRKDIR}/pkg-message

post-patch:
    @${SED} 's|%%PREFIX%%|${PREFIX}|' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
    @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," \
        ${WRKSRC}/*
    @${RM} ${WRKSRC}/*.bak

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.BUGS \
    ${WRKSRC}/README.credits \
    ${WRKSRC}/README.install \
    ${WRKSRC}/README.intro \
    ${WRKSRC}/README.modules \
    ${WRKSRC}/README.paper \
    ${WRKSRC}/README.technical \
    ${WRKSRC}/README.why_python \
    ${WRKSRC}/README.wtmp \
    ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>