pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tspc Install the relevant template files and point...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1ef58fece97
branches:  trunk
changeset: 508659:c1ef58fece97
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Feb 23 10:18:02 2006 +0000

description:
Install the relevant template files and point the configuration file to their
location, as pointed out by PR pkg/32637.  Bump PKGREVISION.

diffstat:

 net/tspc/Makefile |  11 ++++++++++-
 net/tspc/PLIST    |   8 +++++++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (58 lines):

diff -r cbf1ffce2ee7 -r c1ef58fece97 net/tspc/Makefile
--- a/net/tspc/Makefile Thu Feb 23 03:56:57 2006 +0000
+++ b/net/tspc/Makefile Thu Feb 23 10:18:02 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/01/15 11:36:50 kristerw Exp $
+# $NetBSD: Makefile,v 1.14 2006/02/23 10:18:02 ghen Exp $
 
 DISTNAME=              tspc-2.1.1-src
 PKGNAME=               ${DISTNAME:S/-src//}
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          http://www.hexago.com/files/
 EXTRACT_SUFX=          .tgz
@@ -26,6 +27,7 @@
 .endif
 
 MAKE_ENV+=             target=${TARGET:Q}
+MAKE_ENV+=             configdir=${PREFIX}/share/tspc
 
 WRKSRC=                        ${WRKDIR}/tspc2
 
@@ -34,11 +36,18 @@
 
 RCD_SCRIPTS=           tspc
 
+PLIST_SUBST+=          TARGET=${TARGET:Q}
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${PREFIX}/sbin/
        ${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/${PKGMANDIR}/man5/
        ${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/${PKGMANDIR}/man8/
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tspc/
        ${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${PREFIX}/share/examples/tspc/tspc.conf
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/tspc/ ${PREFIX}/share/tspc/template/
+       ${INSTALL_SCRIPT} ${WRKSRC}/template/${TARGET}.sh ${PREFIX}/share/tspc/template/
+       ${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${PREFIX}/share/tspc/template/
+       ${INSTALL_DATA} ${WRKSRC}/template/README ${PREFIX}/share/tspc/template/
+       ${INSTALL_DATA} ${WRKSRC}/template/variables_environ ${PREFIX}/share/tspc/template/
 
 .include "../../mk/bsd.pkg.mk"
diff -r cbf1ffce2ee7 -r c1ef58fece97 net/tspc/PLIST
--- a/net/tspc/PLIST    Thu Feb 23 03:56:57 2006 +0000
+++ b/net/tspc/PLIST    Thu Feb 23 10:18:02 2006 +0000
@@ -1,7 +1,13 @@
-@comment $NetBSD: PLIST,v 1.4 2005/12/28 12:10:44 ghen Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/02/23 10:18:02 ghen Exp $
 man/man5/tspc.conf.5
 man/man8/tspc.8
 sbin/tspc
 share/examples/rc.d/tspc
 share/examples/tspc/tspc.conf
+share/tspc/template/README
+share/tspc/template/checktunnel.sh
+share/tspc/template/${TARGET}.sh
+share/tspc/template/variables_environ
+@dirrm share/tspc/template
+@dirrm share/tspc
 @dirrm share/examples/tspc



Home | Main Index | Thread Index | Old Index