summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-01 20:13:41 +0000
committerjoerg <joerg>2007-08-01 20:13:41 +0000
commit891bb7c2d39707364f87640cf5b6d8f092aa7413 (patch)
tree27b6b03b45c9452f7b40d29933d4f830f38277e8 /net
parent0a491845585363369d846d5a611a436b783c0d32 (diff)
downloadpkgsrc-891bb7c2d39707364f87640cf5b6d8f092aa7413.tar.gz
Fix path to ksh, depend on it & use subst framework. Bump revision.
Diffstat (limited to 'net')
-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"