aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nipper
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2008-01-01 22:08:03 +0800
committersat <sat@FreeBSD.org>2008-01-01 22:08:03 +0800
commit3d6cf91d56f09dd35ae9cd2013b9585883837bfd (patch)
tree92f85ec1b860eca37816f84ab8c5aef96ae294d1 /net-mgmt/nipper
parent15cbfe051b14714e8838225afb86e7f366899110 (diff)
downloadfreebsd-ports-gnome-3d6cf91d56f09dd35ae9cd2013b9585883837bfd.tar.gz
freebsd-ports-gnome-3d6cf91d56f09dd35ae9cd2013b9585883837bfd.tar.zst
freebsd-ports-gnome-3d6cf91d56f09dd35ae9cd2013b9585883837bfd.zip
- Update to 0.11.0
Diffstat (limited to 'net-mgmt/nipper')
-rw-r--r--net-mgmt/nipper/Makefile15
-rw-r--r--net-mgmt/nipper/distinfo6
2 files changed, 15 insertions, 6 deletions
diff --git a/net-mgmt/nipper/Makefile b/net-mgmt/nipper/Makefile
index 6c112c725c5c..6358ab78b232 100644
--- a/net-mgmt/nipper/Makefile
+++ b/net-mgmt/nipper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nipper
-PORTVERSION= 0.10.10
+PORTVERSION= 0.11.0
CATEGORIES= net-mgmt
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@@ -14,21 +14,30 @@ EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Netdev config analyzer
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} etc/nipper.conf.sample
PORTDOCS= Changelog Readme TODO Features.txt Options.txt Quickstart.txt \
XML.txt
+MAN1= ${PORTNAME}.1
+MAN5= ${PORTNAME}.conf.5
post-extract:
@${MV} ${WRKSRC}/docs/* ${WRKSRC}/
+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:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${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}/
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/nipper/distinfo b/net-mgmt/nipper/distinfo
index 472974d57ab0..d9b2d61600a1 100644
--- a/net-mgmt/nipper/distinfo
+++ b/net-mgmt/nipper/distinfo
@@ -1,3 +1,3 @@
-MD5 (nipper-0.10.10.tgz) = df2ad89ceab2667c41a64ce313f69590
-SHA256 (nipper-0.10.10.tgz) = ebd0f4832a59260ed16b0d321495777369bacc8c78533bc593f53675935db6f1
-SIZE (nipper-0.10.10.tgz) = 199851
+MD5 (nipper-0.11.0.tgz) = ae44ba35eb9d1b79507bf78327badbcf
+SHA256 (nipper-0.11.0.tgz) = bd9d869e32dcb3a208c995e4b6e63a420e9e8df32076bdf5dc706222876af26b
+SIZE (nipper-0.11.0.tgz) = 264713