diff options
author | ghen <ghen@pkgsrc.org> | 2006-02-23 10:18:02 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-02-23 10:18:02 +0000 |
commit | e59a509a11748b3481683032ed25b2bae7a9ffda (patch) | |
tree | df0502257791b3e6bfe7cb44d458fa22c8aa6f64 | |
parent | 3ac90acce5b84b16f225d4f9f99ca8cadaa6a878 (diff) | |
download | pkgsrc-e59a509a11748b3481683032ed25b2bae7a9ffda.tar.gz |
Install the relevant template files and point the configuration file to their
location, as pointed out by PR pkg/32637. Bump PKGREVISION.
-rw-r--r-- | net/tspc/Makefile | 11 | ||||
-rw-r--r-- | net/tspc/PLIST | 8 |
2 files changed, 17 insertions, 2 deletions
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 |