diff options
author | abs <abs@pkgsrc.org> | 2000-07-13 15:34:10 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2000-07-13 15:34:10 +0000 |
commit | 9aa9298845679f7da1a1efffd1b954e43ee8cd67 (patch) | |
tree | 67aec4186d5dadc42eefbb67c1dc87fefe7e60cd /net/nocol/Makefile | |
parent | dd8cfb5b4e38a3538afb7b958bf5d8dbb9e8147a (diff) | |
download | pkgsrc-9aa9298845679f7da1a1efffd1b954e43ee8cd67.tar.gz |
Update to 4.3.1nb1
- Modify webnocol.cgi to find traceroute in /usr/sbin
- Install the images and audio files in $PREFIX/share/nocol for later use
Diffstat (limited to 'net/nocol/Makefile')
-rw-r--r-- | net/nocol/Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/net/nocol/Makefile b/net/nocol/Makefile index 0fb51f53226..d4db32f40d4 100644 --- a/net/nocol/Makefile +++ b/net/nocol/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2000/07/13 11:09:16 abs Exp $ +# $NetBSD: Makefile,v 1.8 2000/07/13 15:34:10 abs Exp $ # DISTNAME= nocol-4.3.1 +PKGNAME= nocol-4.3.1nb1 CATEGORIES= net MASTER_SITES= http://www.netplex-tech.com/software/nocol/downloads/ @@ -29,6 +30,22 @@ post-patch: ${SED} -e 's|@prefix@|${PREFIX}|g' -e "s|@FQDN@|$$fqdn|g" \ ${FILESDIR}/answers > ${WRKSRC}/answers) +post-install: + # Ensure webnocol audio and images files are available if needed + # + ${MKDIR} ${PREFIX}/share/nocol/gifs + + for f in critical.wav error.wav warning.wav ; do \ + ${INSTALL_DATA} ${WRKSRC}/webnocol/$$f ${PREFIX}/share/nocol; \ + done + + for f in bluesq.gif critical.jpg empty.gif error.jpg \ + greensq.gif help.jpg info.jpg redsq.gif warning.jpg \ + yellowsq.gif ; do \ + ${INSTALL_DATA} ${WRKSRC}/webnocol/gifs/$$f \ + ${PREFIX}/share/nocol/gifs; \ + done + do-configure: (cd ${WRKSRC}; ./Configure < answers) |