aboutsummaryrefslogtreecommitdiffstats
path: root/net/pixilate/Makefile
blob: 69e297777d06391f86e3d537f3ba216d38ad769b (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
# 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
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= winfingerprint

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

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel

WRKSRC=     ${WRKDIR}/pixilate

LIBNET_CONFIG=  ${LOCALBASE}/bin/libnet-config
CFLAGS+=    `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
CFLAGS+=    -I${LOCALBASE}/include
LIBS=       `${LIBNET_CONFIG} --libs`
GNU_CONFIGURE=  yes
USE_AUTOCONF_VER=   253
USE_AUTOMAKE_VER=   15
AUTOMAKE_ARGS=  --add-missing

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

MAN1=       pixilate.1

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

.include <bsd.port.mk>