pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/znc



Module Name:    pkgsrc
Committed By:   kim
Date:           Sun Oct 31 07:52:00 UTC 2021

Modified Files:
        pkgsrc/chat/znc: Makefile

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/chat/znc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/znc/Makefile
diff -u pkgsrc/chat/znc/Makefile:1.27 pkgsrc/chat/znc/Makefile:1.28
--- pkgsrc/chat/znc/Makefile:1.27       Wed Sep 29 19:00:24 2021
+++ pkgsrc/chat/znc/Makefile    Sun Oct 31 07:52:00 2021
@@ -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"



Home | Main Index | Thread Index | Old Index