aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pixilate/Makefile
blob: fd21bcf9c904ef2bf0e2e36c786bb5058d4260ad (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
# Ports collection makefile for:  pixilate
# Date created:           Wed Apr 30 06:10:16 PDT 2003
# Whom:               Barry Irwin <bvi@moria.org>
#
# $FreeBSD$

PORTNAME=   pixilate
PORTVERSION=    0.4.1
PORTREVISION=   3
CATEGORIES= net-mgmt
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= winfingerprint

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generates packets to match a list of Cisco PIX access lists

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

WRKSRC=     ${WRKDIR}/pixilate

USE_AUTOTOOLS=  automake:15 autoconf:259
AUTOMAKE_ARGS=  --add-missing

#CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${LIBS}" CPPFLAGS="-I${LOCALBASE}/include"

MAN1=       pixilate.1

PORTDOCS=   README
PLIST_FILES=    bin/pixilate

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

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>