1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net-mgmt/nipper/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: nipper
# Date created: 3 May 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nipper
PORTVERSION= 0.11.10
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Nipper%20${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
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}/
2008-01-01 14:08:03 +00:00
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|'\
${WRKSRC}/common/* ${WRKSRC}/man/*
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/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
2008-01-01 14:08:03 +00:00
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>