freebsd-ports/net-mgmt/isic/Makefile
Sunpoet Po-Chuan Hsieh 1376899fe3 - Add LICENSE
- Strip binary executable
- Support STAGEDIR
- Bump PORTREVISION for package change
- Pass maintainership to submitter
- While I'm here:
  - Use USES=tar:tgz
  - Update patch
  - Sort PLIST

PR:		ports/190263
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2014-05-30 05:31:26 +00:00

34 lines
778 B
Makefile

# Created by: Brad Hendrickse <bradh@uunet.co.za>
# $FreeBSD$
PORTNAME= isic
PORTVERSION= 0.07
PORTREVISION= 3
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
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} > 900000
@${REINPLACE_CMD} -e 's|2147483647|2147483645|' \
${WRKSRC}/isic.h
.endif
@${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.post.mk>