Index: www/w3m/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /a/.cvsup/ports/www/w3m/Makefile,v retrieving revision 1.93 diff -u -p -r1.93 Makefile --- www/w3m/Makefile 22 Aug 2009 00:38:29 -0000 1.93 +++ www/w3m/Makefile 5 May 2010 17:30:19 -0000 @@ -54,7 +54,7 @@ PLIST_SUB+=3D M17N=3D"@comment " =20 .if defined(JAPANESE) USE_GETTEXT=3D yes -CONFIGURE_ARGS+=3D --enable-m17n --enable-japanese=3DE --with-migemo=3Dyes +CONFIGURE_ARGS+=3D --enable-m17n --enable-japanese=3DE --with-migemo=3Dyes= gt_cv_func_gnugettext1_libintl=3Dyes DOCS_JP=3D ${DOCS} README.SSL README.cookie README.keymap README.mailcap \ README.menu README.migemo =20 @@ -139,7 +139,12 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e \ 's|\`\(expr\) \(.*\) : \(.*\)`|`\1 \\( \2 : \3 \\)`|' \ + -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/scripts/w3mman/w3mman2html.cgi.in + @${FIND} ${WRKSRC}/doc* -type f \! -name HISTORY \ + -exec ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' {} + =20 post-install: .if !defined(NOPORTDOCS)