diff options
-rw-r--r-- | net/pconsole/Makefile | 19 |
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" |