pkgsrc-WIP-changes archive

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

ngircd: fix config and doc placement in Makefile



Module Name:	pkgsrc-wip
Committed By:	sxvghd <sxvghd%firemail.cc@localhost>
Pushed By:	sxvghd
Date:		Mon Dec 16 22:41:40 2019 +0100
Changeset:	9ed8dcf235b7a582e6cf69a7c879fcbb9329eee2

Modified Files:
	ngircd/Makefile

Log Message:
ngircd: fix config and doc placement in Makefile

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

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

diffstat:
 ngircd/Makefile | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)

diffs:
diff --git a/ngircd/Makefile b/ngircd/Makefile
index da85f247b2..d13db04be1 100644
--- a/ngircd/Makefile
+++ b/ngircd/Makefile
@@ -14,33 +14,16 @@ USE_LANGUAGES=	c
 
 RCD_SCRIPTS+=	ngircd
 
-EGDIR=                  ${PREFIX}/share/doc/ngircd
 
-CONF_FILES+=            ${EGDIR}/AUTHORS ${PKG_SYSCONFDIR}/ngircd/AUTHORS
-CONF_FILES+=            ${EGDIR}/Bopm.txt ${PKG_SYSCONFDIR}/ngircd/Bopm.txt
-CONF_FILES+=            ${EGDIR}/Capabilities.txt ${PKG_SYSCONFDIR}/ngircd/Capabilities.txt
-CONF_FILES+=            ${EGDIR}/ChangeLog ${PKG_SYSCONFDIR}/ngircd/ChangeLog
-CONF_FILES+=            ${EGDIR}/Commands.txt ${PKG_SYSCONFDIR}/ngircd/Commands.txt
-CONF_FILES+=            ${EGDIR}/Contributing.txt ${PKG_SYSCONFDIR}/ngircd/Contributing.txt
-CONF_FILES+=            ${EGDIR}/FAQ.txt ${PKG_SYSCONFDIR}/ngircd/FAQ.txt
-CONF_FILES+=            ${EGDIR}/Modes.txt ${PKG_SYSCONFDIR}/ngircd/Modes.txt
-CONF_FILES+=            ${EGDIR}/NEWS ${PKG_SYSCONFDIR}/ngircd/NEWS
-CONF_FILES+=            ${EGDIR}/PAM.txt ${PKG_SYSCONFDIR}/ngircd/PAM.txt
-CONF_FILES+=            ${EGDIR}/Platforms.txt ${PKG_SYSCONFDIR}/ngircd/Platforms.txt
-CONF_FILES+=            ${EGDIR}/Protocol.txt ${PKG_SYSCONFDIR}/ngircd/Protocol.txt
-CONF_FILES+=            ${EGDIR}/README ${PKG_SYSCONFDIR}/ngircd/README
-CONF_FILES+=            ${EGDIR}/README-AUX.txt ${PKG_SYSCONFDIR}/ngircd/README-AUX.txt
-CONF_FILES+=            ${EGDIR}/README-BeOS.txt ${PKG_SYSCONFDIR}/ngircd/README-BeOS.txt
-CONF_FILES+=            ${EGDIR}/README-Interix.txt ${PKG_SYSCONFDIR}/ngircd/README-Interix.txt
-CONF_FILES+=            ${EGDIR}/RFC.txt ${PKG_SYSCONFDIR}/ngircd/RFC.txt
-CONF_FILES+=            ${EGDIR}/SSL.txt ${PKG_SYSCONFDIR}/ngircd/SSL.txt
-CONF_FILES+=            ${EGDIR}/Services.txt ${PKG_SYSCONFDIR}/ngircd/Services.txt
-CONF_FILES+=            ${EGDIR}/sample-ngircd.conf ${PKG_SYSCONFDIR}/ngircd/sample-ngircd.conf
+EGDIR=                  ${PREFIX}/share/doc/ngircd
+CONF_FILES+=            ${EGDIR}/sample-ngircd.conf ${PREFIX}/share/examples/ngircd/sample-ngircd.conf
 
 .include "options.mk"
 
+
 post-install:
-	${MKDIR} ${PKG_SYSCONFDIR}/ngircd
+	${MKDIR} ${PREFIX}/share/examples/ngircd
+
 	${RM} ${DESTDIR}${EGDIR}/COPYING
 	${RM} ${DESTDIR}${EGDIR}/HowToRelease.txt
 	${RM} ${DESTDIR}${EGDIR}/INSTALL


Home | Main Index | Thread Index | Old Index