summaryrefslogtreecommitdiff
path: root/sysutils/libirman
diff options
context:
space:
mode:
authorabs <abs>2002-05-17 13:06:09 +0000
committerabs <abs>2002-05-17 13:06:09 +0000
commit65e5ba85359645f09f6ba5389450a98733e5b5a0 (patch)
tree4b37f66cdccfe6742561444bb46711f701bf4921 /sysutils/libirman
parent9409c28a0dcd68797db7d4dda07bae233ebde815 (diff)
downloadpkgsrc-65e5ba85359645f09f6ba5389450a98733e5b5a0.tar.gz
Updated libirman to libirman-0.4.1bnb1
- Install README and programs for testing/setting up config
Diffstat (limited to 'sysutils/libirman')
-rw-r--r--sysutils/libirman/Makefile18
-rw-r--r--sysutils/libirman/PLIST6
2 files changed, 22 insertions, 2 deletions
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