diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 16:07:43 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 16:07:43 +0000 |
commit | 653058c84076135706085aaa853fcac9dcc080b6 (patch) | |
tree | fc629c4f287db1498e8afa1110157a2edee05f3c | |
parent | 05065d99c78a53f6ab97086574a01d75be79decc (diff) | |
download | ports-653058c84076135706085aaa853fcac9dcc080b6.tar.gz ports-653058c84076135706085aaa853fcac9dcc080b6.zip |
Notes
-rw-r--r-- | www/dokuwiki-devel/Makefile | 5 | ||||
-rw-r--r-- | www/dokuwiki/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/www/dokuwiki-devel/Makefile b/www/dokuwiki-devel/Makefile index a4318cb7c4b7..a16c4ae345cc 100644 --- a/www/dokuwiki-devel/Makefile +++ b/www/dokuwiki-devel/Makefile @@ -20,7 +20,7 @@ USE_PHP= gd pcre session xml zlib PHP4_PORT?= www/mod_php4 NO_BUILD= YES WANT_PHP_WEB= YES -USE_REINPLACE=yes +USE_REINPLACE= YES pre-fetch: .if !defined(DOKUWIKI_DIR) @@ -83,7 +83,8 @@ pre-everything:: pre-patch: .if defined(WIKI_LANG) - @${REINPLACE_CMD} -e 's|'en'|'${WIKI_LANG}'|g' ${WRKSRC}/conf/dokuwiki.php + @${REINPLACE_CMD} -e 's|lang\(.*\)'en'|lang\1'${WIKI_LANG}'|g' \ + ${WRKSRC}/conf/dokuwiki.php ${FIND} ${WRKSRC}/conf -name "*.php.bak" -delete .endif diff --git a/www/dokuwiki/Makefile b/www/dokuwiki/Makefile index a4318cb7c4b7..a16c4ae345cc 100644 --- a/www/dokuwiki/Makefile +++ b/www/dokuwiki/Makefile @@ -20,7 +20,7 @@ USE_PHP= gd pcre session xml zlib PHP4_PORT?= www/mod_php4 NO_BUILD= YES WANT_PHP_WEB= YES -USE_REINPLACE=yes +USE_REINPLACE= YES pre-fetch: .if !defined(DOKUWIKI_DIR) @@ -83,7 +83,8 @@ pre-everything:: pre-patch: .if defined(WIKI_LANG) - @${REINPLACE_CMD} -e 's|'en'|'${WIKI_LANG}'|g' ${WRKSRC}/conf/dokuwiki.php + @${REINPLACE_CMD} -e 's|lang\(.*\)'en'|lang\1'${WIKI_LANG}'|g' \ + ${WRKSRC}/conf/dokuwiki.php ${FIND} ${WRKSRC}/conf -name "*.php.bak" -delete .endif |