summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-26 14:11:44 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-26 14:11:44 +0000
commit26ec8018b54474cbc58dd919a96952ffc04e6776 (patch)
tree56cf4482ea169a65849a80c3c73276e725955320 /net
parenta82df49be7ec957a6acf4f736586d92e369bfc62 (diff)
downloadpkgsrc-26ec8018b54474cbc58dd919a96952ffc04e6776.tar.gz
Fix PLIST. Create necessary directories.
Diffstat (limited to 'net')
-rw-r--r--net/vnstat/Makefile14
-rw-r--r--net/vnstat/PLIST3
2 files changed, 11 insertions, 6 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index b0e3c76c845..32e7afb1e3e 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $
+# $NetBSD: Makefile,v 1.2 2009/11/26 14:11:44 joerg Exp $
DISTNAME= vnstat-1.9
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/
#DISTFILES=${DISTNAME}.tar.gz
@@ -39,6 +40,9 @@ RCD_SCRIPTS= vnstatd
BUILD_DEFS+= VARBASE
+INSTALLATION_DIRS= bin ${VNSTAT_EGDIR} ${PKGMANDIR}/man1 \
+ ${PKGMANDIR}/man5
+
.include "options.mk"
do-install:
@@ -49,16 +53,16 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf \
${DESTDIR}${VNSTAT_EGDIR}/vnstat.conf
${INSTALL_MAN} ${WRKSRC}/man/vnstat.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR:Q}/man1/vnstat.1
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstat.1
${INSTALL_MAN} ${WRKSRC}/man/vnstatd.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR:Q}/man1/vnstatd.1
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstatd.1
${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR:Q}/man5/vnstat.conf.5
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/vnstat.conf.5
if [ "${PLIST.gd}" = "yes" ]; then \
${INSTALL_PROGRAM} ${WRKSRC}/src/vnstati \
${DESTDIR}${PREFIX}/bin/vnstati; \
${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR:Q}/man1/vnstati.1; \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstati.1; \
fi
.include "../../mk/bsd.pkg.mk"
diff --git a/net/vnstat/PLIST b/net/vnstat/PLIST
index f4ee3fbeb2d..4dd7e40fdce 100644
--- a/net/vnstat/PLIST
+++ b/net/vnstat/PLIST
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/19 15:48:19 sborrill Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/11/26 14:11:44 joerg Exp $
bin/vnstat
bin/vnstatd
${PLIST.gd}bin/vnstati
man/man1/vnstat.1
man/man1/vnstatd.1
${PLIST.gd}man/man1/vnstati.1
+man/man5/vnstat.conf.5
share/examples/vnstat.conf
share/examples/rc.d/vnstatd