diff options
author | fredb <fredb@pkgsrc.org> | 2000-01-25 02:48:11 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2000-01-25 02:48:11 +0000 |
commit | 9a701f3449c4c08bbc4fe9f254d03cc9bf6eaa50 (patch) | |
tree | 465016ca3a509c9cd600f72b7300c35390b8cb82 /www/wwwoffle | |
parent | 5c40d89fc288145e671d433c278237448a1d16f8 (diff) | |
download | pkgsrc-9a701f3449c4c08bbc4fe9f254d03cc9bf6eaa50.tar.gz |
Let this work with pkgsrc htdig, and add a dependency on htdig.
Diffstat (limited to 'www/wwwoffle')
-rw-r--r-- | www/wwwoffle/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 668c056d132..1ed964f4bbb 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1999/12/07 08:50:49 agc Exp $ +# $NetBSD: Makefile,v 1.13 2000/01/25 02:48:11 fredb Exp $ DISTNAME= wwwoffle-2.5b CATEGORIES= www @@ -9,6 +9,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/ +DEPENDS+= htdig>=3.1.3:../../www/htdig + USE_GMAKE= yes NO_CONFIGURE= yes @@ -37,6 +39,13 @@ pre-patch: .endif post-build: + cd ${WRKSRC}/html/htdig/scripts; \ + for f in wwwoffle-ht*; do \ + ${MV} $$f $$f.old; \ + ${SED} -e '/htsearch/s#^#${PREFIX}/libexec/cgi-bin/#' \ + -e 's#/usr/local#${PREFIX}#' <$$f.old >$$f; \ + ${RM} $$f.old; \ + done @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/wwwoffle.sh \ >${WRKDIR}/wwwoffle.sh @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \ |