From d7ecc981f1f2833f478fc71ce4b7d39ec43e5291 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 17 May 2002 13:06:09 +0000 Subject: Updated libirman to libirman-0.4.1bnb1 - Install README and programs for testing/setting up config --- sysutils/libirman/Makefile | 18 +++++++++++++++++- sysutils/libirman/PLIST | 6 +++++- 2 files changed, 22 insertions(+), 2 deletions(-) (limited to 'sysutils') diff --git a/sysutils/libirman/Makefile b/sysutils/libirman/Makefile index 79c07b161c9..4caba2412bd 100644 --- a/sysutils/libirman/Makefile +++ b/sysutils/libirman/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/05/17 11:32:51 abs Exp $ +# $NetBSD: Makefile,v 1.2 2002/05/17 13:06:09 abs Exp $ # DISTNAME= libirman-0.4.1b +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.evation.com/libirman/ @@ -14,5 +15,20 @@ GNU_CONFIGURE= YES EGDIR= ${PREFIX}/share/examples CONF_FILES= ${EGDIR}/irman.conf ${PKG_SYSCONFDIR}/irman.conf +post-build: + ${SED} -e "s:/usr/local/etc:${PKG_SYSCONFDIR}:g" \ + -e "s:/usr/local:${PREFIX}:g" \ + -e 's/test_func/irman_&/g' \ + -e 's/test_io/irman_&/g' \ + -e 's/test_name/irman_&/g' \ + ${WRKSRC}/README > ${WRKSRC}/libirman.README + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/test_func ${PREFIX}/bin/irman_test_func + ${INSTALL_PROGRAM} ${WRKSRC}/test_io ${PREFIX}/bin/irman_test_io + ${INSTALL_PROGRAM} ${WRKSRC}/test_name ${PREFIX}/bin/irman_test_name + ${INSTALL_DATA} ${WRKSRC}/libirman.README \ + ${PREFIX}/share/doc/libirman.README + .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/libirman/PLIST b/sysutils/libirman/PLIST index a9a72edd3a4..edba8119d45 100644 --- a/sysutils/libirman/PLIST +++ b/sysutils/libirman/PLIST @@ -1,5 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/17 11:32:51 abs Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/05/17 13:06:09 abs Exp $ +bin/irman_test_func +bin/irman_test_io +bin/irman_test_name bin/workmanir lib/libirman.a sbin/lirmand +share/doc/libirman.README share/examples/irman.conf -- cgit v1.2.3