summaryrefslogtreecommitdiff
path: root/net/pconsole
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-01 20:13:41 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-01 20:13:41 +0000
commit25e583ddbbd8eebb9d939a0285dd2c00725a6923 (patch)
tree27b6b03b45c9452f7b40d29933d4f830f38277e8 /net/pconsole
parent430b7df64e8e7babfe79f4e8aeedce720d73c34b (diff)
downloadpkgsrc-25e583ddbbd8eebb9d939a0285dd2c00725a6923.tar.gz
Fix path to ksh, depend on it & use subst framework. Bump revision.
Diffstat (limited to 'net/pconsole')
-rw-r--r--net/pconsole/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/net/pconsole/Makefile b/net/pconsole/Makefile
index 9b527ad92f9..009f8389049 100644
--- a/net/pconsole/Makefile
+++ b/net/pconsole/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2006/10/04 21:53:17 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2007/08/01 20:13:41 joerg Exp $
#
DISTNAME= pconsole-1.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.ka.sara.nl/home/walter/pconsole/
@@ -11,16 +12,18 @@ COMMENT= Parallel console tool to access several host via one input tty
GNU_CONFIGURE= yes
+USE_TOOLS+= ksh:run
+
+REPLACE_KSH= pconsole.sh.in
+
+SUBST_CLASSES= path
+SUBST_STAGE.path= post-patch
+SUBST_FILES.path= pconsole.sh.in
+SUBST_VARS.path= PREFIX X11PREFIX
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pconsole
cd ${WRKSRC} && ${INSTALL_DATA} \
README.pconsole ${PREFIX}/share/doc/pconsole
-post-patch:
- ${MV} ${WRKSRC}/pconsole.sh.in ${WRKSRC}/pconsole.sh.in.pre
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
- -e 's|@X11PREFIX@|${X11PREFIX}|g' \
- < ${WRKSRC}/pconsole.sh.in.pre \
- > ${WRKSRC}/pconsole.sh.in
-
.include "../../mk/bsd.pkg.mk"