summaryrefslogtreecommitdiff
path: root/net/snmptt
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-10-12 20:53:48 +0000
committerrillig <rillig@pkgsrc.org>2019-10-12 20:53:48 +0000
commit01c5b90834a51cf76d9f64e62581a5cb0fc48d61 (patch)
treef514a1a1c2c674af8cfa5a0e9db0b67bb3ebacab /net/snmptt
parent4c03b317c0a790a79dd7178a1868b518e7832d71 (diff)
downloadpkgsrc-01c5b90834a51cf76d9f64e62581a5cb0fc48d61.tar.gz
net/snmptt: fix location of HTML documentation
Diffstat (limited to 'net/snmptt')
-rw-r--r--net/snmptt/Makefile17
-rw-r--r--net/snmptt/PLIST14
2 files changed, 17 insertions, 14 deletions
diff --git a/net/snmptt/Makefile b/net/snmptt/Makefile
index 750589d6006..11ffb8d617f 100644
--- a/net/snmptt/Makefile
+++ b/net/snmptt/Makefile
@@ -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
HOMEPAGE= http://www.snmptt.org/
@@ -23,7 +23,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
PKG_SYSCONFSUBDIR= snmptt
-INSTALLATION_DIRS+= sbin
+INSTALLATION_DIRS+= sbin
RCD_SCRIPTS= snmptt
@@ -33,9 +33,9 @@ BUILD_DEFS+= VARBASE
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
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_FILES.installdir+= snmptthandler-embedded
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_FILES.etcdir+= snmptthandler-embedded
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 --git a/net/snmptt/PLIST b/net/snmptt/PLIST
index 3e78415b05a..de249f4e205 100644
--- a/net/snmptt/PLIST
+++ b/net/snmptt/PLIST
@@ -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