diff options
author | nia <nia@pkgsrc.org> | 2019-05-05 10:44:50 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-05-05 10:44:50 +0000 |
commit | b00b5a49fb7fdb07302f8b1f41acdf2555822478 (patch) | |
tree | 908a9ddf791b309a8e9477716ee49c148b242333 /chat | |
parent | 7adb531474a74d62983580034b15a38d589eefc5 (diff) | |
download | pkgsrc-b00b5a49fb7fdb07302f8b1f41acdf2555822478.tar.gz |
chat/inspircd3: Use PKG_SYSCONFDIR in post-install.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/inspircd3/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chat/inspircd3/Makefile b/chat/inspircd3/Makefile index 22ac20a41c4..532621f4216 100644 --- a/chat/inspircd3/Makefile +++ b/chat/inspircd3/Makefile @@ -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 |