pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/inspircd3



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May  5 10:44:50 UTC 2019

Modified Files:
        pkgsrc/chat/inspircd3: Makefile

Log Message:
chat/inspircd3: Use PKG_SYSCONFDIR in post-install.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/inspircd3/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/inspircd3/Makefile
diff -u pkgsrc/chat/inspircd3/Makefile:1.3 pkgsrc/chat/inspircd3/Makefile:1.4
--- pkgsrc/chat/inspircd3/Makefile:1.3  Sat May  4 10:50:04 2019
+++ pkgsrc/chat/inspircd3/Makefile      Sun May  5 10:44:50 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/05/04 10:50:04 nia Exp $
+# $NetBSD: Makefile,v 1.4 2019/05/05 10:44:50 nia Exp $
 
 DISTNAME=      inspircd-3.0.0
 PKGREVISION=   2
@@ -106,9 +106,8 @@ post-configure:
            --disable-extras=${INSPIRCD_EXTRAS_OFF:C/\.cpp[ ]* m_/.cpp,m_/gW}
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/etc/inspircd/examples/* \
-           ${DESTDIR}${PREFIX}/share/examples/inspircd
-       ${RM} -rf ${DESTDIR}${PREFIX}/etc/inspircd/examples
+       ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/examples/* ${DESTDIR}${EGDIR}
+       ${RM} -rf ${DESTDIR}${PKG_SYSCONFDIR}/examples
        ${RM} -f ${DESTDIR}${PREFIX}/.gdbargs
        ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/inspircd
        ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/inspircd-genssl



Home | Main Index | Thread Index | Old Index