summaryrefslogtreecommitdiff
path: root/net/pconsole
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-01 20:13:41 +0000
committerjoerg <joerg>2007-08-01 20:13:41 +0000
commit0445edfa8dc7aeb0251822bb3872b4a6d07bbbd7 (patch)
tree27b6b03b45c9452f7b40d29933d4f830f38277e8 /net/pconsole
parentf5b51c5bd5ceef9fa66b38ebbfe2837a99afc606 (diff)
downloadpkgsrc-0445edfa8dc7aeb0251822bb3872b4a6d07bbbd7.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"