pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vnstat Fix PLIST. Create necessary directories.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c318e42ee53
branches:  trunk
changeset: 567848:8c318e42ee53
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 26 14:11:44 2009 +0000

description:
Fix PLIST. Create necessary directories.

diffstat:

 net/vnstat/Makefile |  14 +++++++++-----
 net/vnstat/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs (58 lines):

diff -r d52bcc2d0d48 -r 8c318e42ee53 net/vnstat/Makefile
--- a/net/vnstat/Makefile       Thu Nov 26 12:30:30 2009 +0000
+++ b/net/vnstat/Makefile       Thu Nov 26 14:11:44 2009 +0000
@@ -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 @@
 
 BUILD_DEFS+=   VARBASE
 
+INSTALLATION_DIRS=     bin ${VNSTAT_EGDIR} ${PKGMANDIR}/man1 \
+                       ${PKGMANDIR}/man5
+
 .include "options.mk"
 
 do-install:
@@ -49,16 +53,16 @@
        ${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 -r d52bcc2d0d48 -r 8c318e42ee53 net/vnstat/PLIST
--- a/net/vnstat/PLIST  Thu Nov 26 12:30:30 2009 +0000
+++ b/net/vnstat/PLIST  Thu Nov 26 14:11:44 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index