6d2e8f9aeb
Approved by: bapt
28 lines
640 B
Makefile
28 lines
640 B
Makefile
# Created by: Brad Hendrickse <bradh@uunet.co.za>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= isic
|
|
PORTVERSION= 0.07
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ISIC%20v${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= IP Stack Integrity Checker
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= tar:tgz
|
|
|
|
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>
|