diff options
author | fredb <fredb> | 2000-01-25 02:48:11 +0000 |
---|---|---|
committer | fredb <fredb> | 2000-01-25 02:48:11 +0000 |
commit | 4df679fd97bf7fe8453d5477eb8fa100ebe79939 (patch) | |
tree | 465016ca3a509c9cd600f72b7300c35390b8cb82 /www/wwwoffle/Makefile | |
parent | f74db071e81e5882915f435ef40c7e38b9533a29 (diff) | |
download | pkgsrc-4df679fd97bf7fe8453d5477eb8fa100ebe79939.tar.gz |
Let this work with pkgsrc htdig, and add a dependency on htdig.
Diffstat (limited to 'www/wwwoffle/Makefile')
-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 \ |