From 2af8d91400b90c1c327670ab19e8ed57f3faa5a6 Mon Sep 17 00:00:00 2001 From: ghen Date: Thu, 23 Feb 2006 10:18:02 +0000 Subject: Install the relevant template files and point the configuration file to their location, as pointed out by PR pkg/32637. Bump PKGREVISION. --- net/tspc/Makefile | 11 ++++++++++- net/tspc/PLIST | 8 +++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/tspc/Makefile b/net/tspc/Makefile index 67fc54d68c9..99fb4483809 100644 --- a/net/tspc/Makefile +++ b/net/tspc/Makefile @@ -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 @@ TARGET= ${LOWER_OPSYS} .endif MAKE_ENV+= target=${TARGET:Q} +MAKE_ENV+= configdir=${PREFIX}/share/tspc WRKSRC= ${WRKDIR}/tspc2 @@ -34,11 +36,18 @@ CONF_FILES_MODE= 0600 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 --git a/net/tspc/PLIST b/net/tspc/PLIST index b958987dbae..78c5ab2deb8 100644 --- a/net/tspc/PLIST +++ b/net/tspc/PLIST @@ -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 -- cgit v1.2.3