7363e7f7d5
- pass maintainership to submitter - install documentation and examples PR: ports/167082 Submitted by: mjl@luckie.org.nz
43 lines
928 B
Makefile
43 lines
928 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: libbgpdump
|
|
# Date created: Jan 8, 2007
|
|
# Whom: 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
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= example.c
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${PREFIX}/bin
|
|
@${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${PREFIX}/lib
|
|
.for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include
|
|
.endfor
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|