freebsd-ports/net-mgmt/isic/Makefile
Thomas Zander a06161ee20 - Fix build failure on 9.1
- Simplify Makefile in the process

PR:		190649
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Reviewed by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Approved by:	mentors (implicit), maintainer
MFH:		2014Q3
2014-08-12 19:30:39 +00:00

28 lines
642 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= 5u623l20@gmail.com
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>