pkgsrc-WIP-changes archive

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

s-nail: rc is a default config, put it in etc and use CONF_FILES



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Sat Jan 6 20:24:17 2024 -0500
Changeset:	c1d768bc296f815967e1ed7c67eb018ace7a59e2

Modified Files:
	s-nail/Makefile
	s-nail/PLIST

Log Message:
s-nail: rc is a default config, put it in etc and use CONF_FILES

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c1d768bc296f815967e1ed7c67eb018ace7a59e2

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

diffstat:
 s-nail/Makefile | 4 ++--
 s-nail/PLIST    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/s-nail/Makefile b/s-nail/Makefile
index dd06478cc9..6fc89e9300 100644
--- a/s-nail/Makefile
+++ b/s-nail/Makefile
@@ -11,12 +11,12 @@ LICENSE=		original-bsd AND osl AND mpl-1.1
 
 MAKE_FILE=		makefile
 
-EGDIR=			${PREFIX}/share/examples/${PKGBASE}
 MAKE_FLAGS+=		VAL_PREFIX=${PREFIX}
 MAKE_FLAGS+=		VAL_MANDIR=${PREFIX}/${PKGMANDIR}
-MAKE_FLAGS+=		VAL_SYSCONFDIR=${EGDIR}
 MAKE_FLAGS+=		OPT_AUTOCC=no
 
+CONF_FILES=		${PREFIX}/etc/s-nail.rc ${PKG_SYSCONFDIR}/s-nail.rc
+
 .include "../../devel/libidn2/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
diff --git a/s-nail/PLIST b/s-nail/PLIST
index 2cf8c5ddf3..a74d273e04 100644
--- a/s-nail/PLIST
+++ b/s-nail/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
 bin/s-nail
+etc/s-nail.rc
 libexec/s-nail-dotlock
 man/man1/s-nail.1
-share/examples/s-nail/s-nail.rc


Home | Main Index | Thread Index | Old Index