aboutsummaryrefslogtreecommitdiffstats
path: root/net/iplog/Makefile
blob: 9621a1b29ebd9c4e2c37f1e21ae23aa4f89632b4 (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
# New ports collection makefile for:        iplog
# Date created:     4 Oct 1999
# Whom:         Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
#

PORTNAME=   iplog
PORTVERSION=    2.1.1
CATEGORIES= security
MASTER_SITES=   http://download.sourceforge.net/ojnk/ \
        ftp://ftp.karlsbakk.net/pub/ojnk/iplog/

PATCH_SITES=    http://ojnk.sourceforge.net/stuff/ \
        ftp://ftp.karlsbakk.net/pub/ojnk/iplog/
PATCH_DIST_STRIP=-p1

MAINTAINER= ust@cert.siemens.de

GNU_CONFIGURE=  yes
MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}"
USE_GMAKE=  yes

MAN5=   iplog.rules.5
MAN8=   iplog.8

.include <bsd.port.pre.mk>

post-install:
    strip ${PREFIX}/sbin/iplog
.if !exists(${PREFIX}/etc/iplog.rules)
    ${CP} ${WRKSRC}/example-iplog.rules ${PREFIX}/etc/iplog.rules
.endif
    ${CP} ${WRKSRC}/example-iplog.rules ${PREFIX}/etc/iplog.rules.sample

.include <bsd.port.post.mk>