pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/znc znc: Fix datadir on man page. Cleanup unused ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a98e1c982a31
branches:  trunk
changeset: 768702:a98e1c982a31
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Oct 31 07:52:00 2021 +0000

description:
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:

 chat/znc/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r 27ac8b6c8800 -r a98e1c982a31 chat/znc/Makefile
--- a/chat/znc/Makefile Sun Oct 31 07:47:06 2021 +0000
+++ b/chat/znc/Makefile Sun Oct 31 07:52:00 2021 +0000
@@ -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 @@
 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_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"



Home | Main Index | Thread Index | Old Index