1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/net/libbgpdump/Makefile
Kurt Jaeger fdff402b8c net/libbgpdump: fix build with clang
PR:		191428
Submitted by:	mjl@luckie.org.nz (maintainer)
2014-08-15 20:24:06 +00:00

32 lines
868 B
Makefile

# $FreeBSD$
PORTNAME= libbgpdump
PORTVERSION= 1.4.99.13
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/
EXTRACT_SUFX= .tgz
MAINTAINER= mjl@luckie.org.nz
COMMENT= Analyzing dump files produced by Zebra/Quagga or MRT
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbgpdump.so
.for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>