diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-06-23 21:09:31 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-06-23 21:09:31 +0000 |
commit | 95dc083525b33ca3258b406b85c0234142007fcb (patch) | |
tree | 2dbba6b1f05b589452c4d056e8e324fb5c6a8937 /www/dokuwiki-devel | |
parent | a150a428382d81f8f60ff54d6ce32ead11f77858 (diff) | |
download | ports-95dc083525b33ca3258b406b85c0234142007fcb.tar.gz ports-95dc083525b33ca3258b406b85c0234142007fcb.zip |
Notes
Diffstat (limited to 'www/dokuwiki-devel')
-rw-r--r-- | www/dokuwiki-devel/Makefile | 20 | ||||
-rw-r--r-- | www/dokuwiki-devel/pkg-message | 8 | ||||
-rw-r--r-- | www/dokuwiki-devel/pkg-plist | 1 |
3 files changed, 13 insertions, 16 deletions
diff --git a/www/dokuwiki-devel/Makefile b/www/dokuwiki-devel/Makefile index 8dd35befb7b6..c4439fdba0ed 100644 --- a/www/dokuwiki-devel/Makefile +++ b/www/dokuwiki-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= dokuwiki PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://www.splitbrain.org/_media/projects/dokuwiki/ \ http://dev.splitbrain.org/browse/snapshots/ @@ -18,18 +18,16 @@ MAINTAINER= chinsan.tw@gmail.com COMMENT= A simple and easy to use wiki, no database required DIST_VER= ${PORTNAME}-2006-03-09 -USE_PHP= gd pcre session xml zlib +USE_PHP= gd mbstring pcre session xml zlib NO_BUILD= YES WANT_PHP_WEB= YES -WWWDOCROOT?= www/data -DOKUWIKI_URL?= ${PORTNAME} -DOKUWIKI_DIR?= www/${DOKUWIKI_URL} +DOKUWIKI_DIR?= www/${PORTNAME} WRKSRC= ${WRKDIR}/${DIST_VER} PLIST_SUB= DOKUWIKI_DIR=${DOKUWIKI_DIR} .if defined(BATCH) -WIKI_LANG?=en +WIKI_LANG?= en .endif .include <bsd.port.pre.mk> @@ -79,14 +77,6 @@ pre-everything:: @${ECHO_MSG} '*******************************************************' .endif -pre-fetch: -.if ${DOKUWIKI_DIR} == ${WWWDOCROOT}/${DOKUWIKI_URL} - @${ECHO_MSG} "" - @${ECHO_MSG} "You can define DOKUWIKI_DIR to override default '${DOKUWIKI_DIR}'" - @${ECHO_MSG} "installed under ${PREFIX}" - @${ECHO_MSG} "" -.endif - pre-patch: .if defined(WIKI_LANG) @${REINPLACE_CMD} -e 's|lang\(.*\)'en'|lang\1'${WIKI_LANG}'|g' \ @@ -104,7 +94,7 @@ do-install: @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKI_DIR} post-install: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ + @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \ -e 's|%%DOKUWIKI_DIR%%|${DOKUWIKI_DIR}|' ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/www/dokuwiki-devel/pkg-message b/www/dokuwiki-devel/pkg-message index b28c0a0031c6..37cb8ba7d335 100644 --- a/www/dokuwiki-devel/pkg-message +++ b/www/dokuwiki-devel/pkg-message @@ -1,6 +1,12 @@ ================================================================= **** NOTE **** - Remember to edit the following file: +1) Please add the following to your apache config, and restart. + [1;32m# + # Directives to allow use of dokuwki + # + Alias /%%PORTNAME%% "%%PREFIX%%/%%DOKUWIKI_DIR%%/"[m + +2) Remember to edit the following file: [1;36m%%PREFIX%%/%%DOKUWIKI_DIR%%/conf/local.php[m For FULL configuration instructions see diff --git a/www/dokuwiki-devel/pkg-plist b/www/dokuwiki-devel/pkg-plist index 5c4ed8c23b5f..bf5ee1739683 100644 --- a/www/dokuwiki-devel/pkg-plist +++ b/www/dokuwiki-devel/pkg-plist @@ -19,6 +19,7 @@ %%DOKUWIKI_DIR%%/conf/wordblock.conf %%DOKUWIKI_DIR%%/conf/words.aspell.dist %%DOKUWIKI_DIR%%/data/.htaccess +%%DOKUWIKI_DIR%%/data/changes.log %%DOKUWIKI_DIR%%/data/attic/_dummy %%DOKUWIKI_DIR%%/data/cache/_dummy %%DOKUWIKI_DIR%%/data/locks/_dummy |