pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/inspircd3 chat/inspircd3: Use PKG_SYSCONFDIR in p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15ce40a89a06
branches:  trunk
changeset: 333327:15ce40a89a06
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 05 10:44:50 2019 +0000

description:
chat/inspircd3: Use PKG_SYSCONFDIR in post-install.

diffstat:

 chat/inspircd3/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 437b6ad433b7 -r 15ce40a89a06 chat/inspircd3/Makefile
--- a/chat/inspircd3/Makefile   Sun May 05 10:13:19 2019 +0000
+++ b/chat/inspircd3/Makefile   Sun May 05 10:44:50 2019 +0000
@@ -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 @@
            --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