pkgsrc-WIP-changes archive

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

OpenIPMI: Fix pkglint warnings and add a TODO file



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Thu Oct 8 09:25:45 2020 +0000
Changeset:	3f7c26df107d94f5ea1171a16afaab9c8c1c8ac0

Modified Files:
	OpenIPMI/Makefile
	OpenIPMI/PLIST

Log Message:
OpenIPMI: Fix pkglint warnings and add a TODO file

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

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

diffstat:
 OpenIPMI/Makefile | 14 ++++++++++++--
 OpenIPMI/PLIST    |  5 ++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs:
diff --git a/OpenIPMI/Makefile b/OpenIPMI/Makefile
index f49398ce26..f173fffd74 100644
--- a/OpenIPMI/Makefile
+++ b/OpenIPMI/Makefile
@@ -13,7 +13,7 @@ GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
 USE_TOOLS+=	gmake perl pkg-config
 
-CONFIGURE_ARGS+=	--with-python=${LOCALBASE}/bin/python${PYVERSSUFFIX}
+CONFIGURE_ARGS+=	--with-python=${PREFIX}/bin/python${PYVERSSUFFIX}
 CONFIGURE_ARGS+=	--with-perl=no
 CONFIGURE_ARGS+=	--with-swig=no
 
@@ -27,9 +27,19 @@ PKGCONFIG_OVERRIDE+=	OpenIPMItcl.pc.in
 PKGCONFIG_OVERRIDE+=	OpenIPMIui.pc.in
 PKGCONFIG_OVERRIDE+=	OpenIPMIutils.pc.in
 
+EGDIR=			${PREFIX}/share/examples/OpenIPMI
+EGFILES=		lan.conf ipmisim1.emu
+
+INSTALLATION_DIRS=	share/examples/OpenIPMI
+
+post-install:
+.for file in ${EGFILES}
+	${MV} ${DESTDIR}${PREFIX}/etc/ipmi/${file} ${DESTDIR}${EGDIR}/${file}
+.endfor
+
 .include "../../devel/popt/buildlink3.mk"
 .include "../../lang/python/pyversion.mk"
-.include "../../lang/perl5/buildlink3.mk"
+#.include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/OpenIPMI/PLIST b/OpenIPMI/PLIST
index 6169c184a8..bd2d7aa27c 100644
--- a/OpenIPMI/PLIST
+++ b/OpenIPMI/PLIST
@@ -8,8 +8,6 @@ bin/openipmish
 bin/rmcp_ping
 bin/sdrcomp
 bin/solterm
-etc/ipmi/ipmisim1.emu
-etc/ipmi/lan.conf
 include/OpenIPMI/deprecator.h
 include/OpenIPMI/extcmd.h
 include/OpenIPMI/internal/ilist.h
@@ -93,4 +91,5 @@ man/man5/ipmi_lan.5
 man/man5/ipmi_sim_cmd.5
 man/man7/ipmi_cmdlang.7
 man/man7/openipmi_conparms.7
-@pkgdir man/man8
+share/examples/OpenIPMI/ipmisim1.emu
+share/examples/OpenIPMI/lan.conf


Home | Main Index | Thread Index | Old Index