mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
e94ff09d22
PR: 189732 Submitted by: Matthew Luckie <mjl@luckie.org.nz> (maintainer)
31 lines
819 B
Makefile
31 lines
819 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libbgpdump
|
|
PORTVERSION= 1.4.99.13
|
|
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
|
|
.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>
|