pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/snmptt net/snmptt: fix location of HTML documentation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6826c3809ce7
branches:  trunk
changeset: 341033:6826c3809ce7
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Oct 12 20:53:48 2019 +0000

description:
net/snmptt: fix location of HTML documentation

diffstat:

 net/snmptt/Makefile |  17 ++++++++++-------
 net/snmptt/PLIST    |  14 +++++++-------
 2 files changed, 17 insertions(+), 14 deletions(-)

diffs (96 lines):

diff -r e0cff0974691 -r 6826c3809ce7 net/snmptt/Makefile
--- a/net/snmptt/Makefile       Sat Oct 12 20:52:53 2019 +0000
+++ b/net/snmptt/Makefile       Sat Oct 12 20:53:48 2019 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.13 2019/08/11 13:22:30 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2019/10/12 20:53:48 rillig Exp $
 #
 
 DISTNAME=              snmptt_1.3
-EXTRACT_SUFX=          .tgz
 PKGNAME=               snmptt-1.3
-PKGREVISION=           10
+PKGREVISION=           11
 CATEGORIES=            net
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=snmptt/}
+EXTRACT_SUFX=          .tgz
 
 MAINTAINER=            bouyer%NetBSD.org@localhost
 HOMEPAGE=              http://www.snmptt.org/
@@ -23,7 +23,7 @@
 
 PKG_SYSCONFSUBDIR=     snmptt
 
-INSTALLATION_DIRS+= sbin
+INSTALLATION_DIRS+=    sbin
 
 RCD_SCRIPTS=           snmptt
 
@@ -33,9 +33,9 @@
 EGDIR=         ${PREFIX}/share/examples/snmptt
 CONF_FILES=    ${EGDIR}/snmptt.ini ${PKG_SYSCONFDIR}/snmptt.ini
 
-DOCDIR=                ${PREFIX}/share/doc/html/snmptt
+DOCDIR=                ${PREFIX}/share/doc/snmptt
 
-MAKE_DIRS_PERMS+= ${VARBASE}/spool/snmptt ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+MAKE_DIRS_PERMS+=      ${VARBASE}/spool/snmptt ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
 
 USE_TOOLS+=    perl:run
 REPLACE_PERL+= snmptt
@@ -45,7 +45,7 @@
 REPLACE_PERL+= snmptthandler-embedded
 REPLACE_PERL+= snmpttconvertmib
 
-SUBST_CLASSES+=                        installdir etcdir vardir log
+SUBST_CLASSES+=                        installdir
 SUBST_STAGE.installdir=                pre-configure
 SUBST_FILES.installdir=                snmptt
 SUBST_FILES.installdir+=       snmptthandler
@@ -53,6 +53,7 @@
 SUBST_SED.installdir=          -e "s|/sbin|${PREFIX}/sbin|g"
 SUBST_MESSAGE.installdir=      Fixing hardcoded install directory path.
 
+SUBST_CLASSES+=                etcdir
 SUBST_STAGE.etcdir=    pre-configure
 SUBST_FILES.etcdir=    snmptt
 SUBST_FILES.etcdir+=   snmptt.ini
@@ -64,11 +65,13 @@
 SUBST_SED.etcdir=      -e "s|/etc|${PKG_SYSCONFDIR}|g"
 SUBST_MESSAGE.etcdir=  Fixing hardcoded /etc path.
 
+SUBST_CLASSES+=                vardir
 SUBST_STAGE.vardir=    pre-configure
 SUBST_FILES.vardir=    snmptt snmptt.ini
 SUBST_SED.vardir=      -e "s|/var|${VARBASE}|g"
 SUBST_MESSAGE.vardir=  Fixing hardcoded /var path.
 
+SUBST_CLASSES+=                log
 SUBST_STAGE.log=       pre-configure
 SUBST_FILES.log=       snmptt.ini
 SUBST_SED.log=         -e "s|/log/snmptt/|/log/|g"
diff -r e0cff0974691 -r 6826c3809ce7 net/snmptt/PLIST
--- a/net/snmptt/PLIST  Sat Oct 12 20:52:53 2019 +0000
+++ b/net/snmptt/PLIST  Sat Oct 12 20:53:48 2019 +0000
@@ -1,14 +1,14 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/01 22:29:49 rillig Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/10/12 20:53:48 rillig Exp $
 sbin/snmptt
 sbin/snmptt-net-snmp-test
 sbin/snmpttconvert
 sbin/snmpttconvertmib
 sbin/snmptthandler
 sbin/snmptthandler-embedded
-share/doc/html/snmptt/faqs.html
-share/doc/html/snmptt/index.html
-share/doc/html/snmptt/layout1.css
-share/doc/html/snmptt/snmptt.html
-share/doc/html/snmptt/snmpttconvert.html
-share/doc/html/snmptt/snmpttconvertmib.html
+share/doc/snmptt/faqs.html
+share/doc/snmptt/index.html
+share/doc/snmptt/layout1.css
+share/doc/snmptt/snmptt.html
+share/doc/snmptt/snmpttconvert.html
+share/doc/snmptt/snmpttconvertmib.html
 share/examples/snmptt/snmptt.ini



Home | Main Index | Thread Index | Old Index