summaryrefslogtreecommitdiff
path: root/chat/znc
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2021-10-31 07:52:00 +0000
committerkim <kim@pkgsrc.org>2021-10-31 07:52:00 +0000
commit7aeb801dd3b528dfac8f943bb57da55295db70c2 (patch)
tree3b567eb33391b28770a7ece36e55048423f286da /chat/znc
parent9dbf054b6b555c44f7292fa8c8e4eee172ac8c19 (diff)
downloadpkgsrc-7aeb801dd3b528dfac8f943bb57da55295db70c2.tar.gz
znc: Fix datadir on man page. Cleanup unused PLIST_SUBST variables.
The default datadir for the znc binary is ~/.znc, so do not rewrite the manual page to say otherwise. (The provided rc.d/znc script is using the -d option to explicitly use a different datadir, but the default in the binary is unchanged -- as it should be.)
Diffstat (limited to 'chat/znc')
-rw-r--r--chat/znc/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/chat/znc/Makefile b/chat/znc/Makefile
index 2ae89914ca3..2362e69ea73 100644
--- a/chat/znc/Makefile
+++ b/chat/znc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2021/09/29 19:00:24 adam Exp $
+# $NetBSD: Makefile,v 1.28 2021/10/31 07:52:00 kim Exp $
DISTNAME= znc-1.8.2
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= chat
MASTER_SITES= https://znc.in/releases/archive/
@@ -21,9 +21,6 @@ GCC_REQD+= 4.7
LDFLAGS.SunOS+= -lsocket -lnsl
PLIST_SRC= PLIST
-PLIST_SUBST+= ZNC_USER="${ZNC_USER}"
-PLIST_SUBST+= PKG_SYSCONFDIR="${PKG_SYSCONFDIR}"
-PLIST_SUBST+= PKG_PREFIX="${PREFIX}"
BUILD_DEFS+= VARBASE
BUILD_DEFS+= PKG_SYSCONFDIR
@@ -53,7 +50,6 @@ SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing absolute paths in znc.1 manpage.
SUBST_FILES.man= man/znc.1
-SUBST_SED.man= -e 's,\~\/\.znc,${PKG_SYSCONFDIR},g'
SUBST_SED.man+= -e 's,\/usr\/local,${PREFIX},g'
.include "options.mk"