aboutsummaryrefslogtreecommitdiffstats
path: root/security/snoopy/Makefile
blob: 6b10a55b1e0d6da54383a4144adc1c965f414f62 (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
# New ports collection makefile for:   snoopy
# Date created:                3 February 2007
# Whom:                        Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$

PORTNAME=   snoopy
PORTVERSION=    1.7.6
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}logger/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    An execve() wrapper and logger

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

PLIST_FILES=    lib/snoopy.so bin/detect
PORTDOCS=   README

GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README
    @${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${PREFIX}/lib
    ${INSTALL_PROGRAM} ${WRKSRC}/detect ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>