2007-05-03 19:46:00 +00:00
|
|
|
# New ports collection makefile for: nipper
|
|
|
|
# Date created: 3 May 2007
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nipper
|
2009-07-14 23:21:43 +00:00
|
|
|
PORTVERSION= 0.11.10
|
|
|
|
PORTEPOCH= 1
|
2007-05-03 19:46:00 +00:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Nipper%20${PORTVERSION}
|
2007-05-03 19:46:00 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-09-02 21:17:34 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-05-03 19:46:00 +00:00
|
|
|
COMMENT= Netdev config analyzer
|
|
|
|
|
2010-10-01 08:45:23 +00:00
|
|
|
BROKEN= does not fetch
|
|
|
|
|
2008-01-01 14:08:03 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} etc/nipper.conf.sample
|
2007-06-21 15:48:15 +00:00
|
|
|
PORTDOCS= Changelog Readme TODO Features.txt Options.txt Quickstart.txt \
|
|
|
|
XML.txt
|
2008-01-01 14:08:03 +00:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
MAN5= ${PORTNAME}.conf.5
|
2007-06-21 15:48:15 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${MV} ${WRKSRC}/docs/* ${WRKSRC}/
|
2007-05-03 19:46:00 +00:00
|
|
|
|
2008-01-01 14:08:03 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|'\
|
|
|
|
${WRKSRC}/common/* ${WRKSRC}/man/*
|
|
|
|
|
2007-05-03 19:46:00 +00:00
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC}/ && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
|
|
|
|
|
|
|
|
do-install:
|
2007-06-21 15:48:15 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
2008-01-01 14:08:03 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/nipper.conf ${PREFIX}/etc/nipper.conf.sample
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/nipper.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/nipper.conf.5 ${MAN5PREFIX}/man/man5/
|
2007-05-03 19:46:00 +00:00
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
@${INSTALL} -d ${DOCSDIR}/
|
2008-01-01 14:08:03 +00:00
|
|
|
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
2007-05-03 19:46:00 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|