aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/isic/Makefile
blob: 0679a18f4710a9329dd3757c378bf82833f304b9 (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
# New ports collection makefile for:   isic
# Date created:                25 February 2000
# Whom:                        Brad Hendrickse <bradh@uunet.co.za>
#
# $FreeBSD$
#

PORTNAME=   isic
PORTVERSION=    0.07
PORTREVISION=   1
CATEGORIES= net-mgmt
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/ISIC%20v${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= wxs@FreeBSD.org
COMMENT=    IP Stack Integrity Checker

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

GNU_CONFIGURE=  yes
MAKE_JOBS_SAFE= yes

MAN1=   isic.1

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

post-patch:
    @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>