diff options
author | schmonz <schmonz> | 2009-07-24 14:35:14 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2009-07-24 14:35:14 +0000 |
commit | d680e0a4c7db8f5ec7e954451afe6bff8fff0344 (patch) | |
tree | aec7592497135aab672e4231b83006972616edef /www | |
parent | edc7e85b92e9d4cbc55786481856e2b94cbb8f35 (diff) | |
download | pkgsrc-d680e0a4c7db8f5ec7e954451afe6bff8fff0344.tar.gz |
Don't install w3m CGI unless the option is enabled. Fixes that PLIST scenario.
Diffstat (limited to 'www')
-rw-r--r-- | www/ikiwiki/options.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/ikiwiki/options.mk b/www/ikiwiki/options.mk index 0f39c75cbf7..864b301c9a0 100644 --- a/www/ikiwiki/options.mk +++ b/www/ikiwiki/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2009/07/24 05:09:02 schmonz Exp $ +# $NetBSD: options.mk,v 1.4 2009/07/24 14:35:14 schmonz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ikiwiki PKG_SUPPORTED_OPTIONS= ikiwiki-amazon-s3 ikiwiki-search @@ -37,7 +37,6 @@ PLIST_VARS+= w3m .if !empty(PKG_OPTIONS:Mw3m) DEPENDS+= w3m-[0-9]*:../../www/w3m PLIST.w3m= yes -SUBST_SED.makefile+= -e 's,/lib/w3m/cgi-bin,/libexec/w3m/cgi-bin,' INSTALLATION_DIRS+= share/doc/${PKGBASE}/w3mmode post-install: ${INSTALL_DATA} ${WRKSRC}/html/w3mmode.html \ @@ -45,5 +44,8 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/w3mmode/ikiwiki.setup \ ${PREFIX}/share/doc/${PKGBASE}/w3mmode/ikiwiki.setup .else -SUBST_SED.makefile+= -e 's,^\(.*install .*W3M_CGI_BIN\),\#\1,' +SUBST_CLASSES+= w3m +SUBST_STAGE.w3m= post-patch +SUBST_FILES.w3m= Makefile.PL +SUBST_SED.w3m+= -e 's,^\(.*install .*W3M_CGI_BIN\),\#\1,' .endif |