FreeBSD Bugzilla – Attachment 59922 Details for
Bug 90101
update port www/phpwiki13 - Add OPTIONS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
phpwiki13.patch
phpwiki13.patch (text/plain), 4.44 KB, created by
babak
on 2005-12-08 12:50:03 UTC
(
hide
)
Description:
phpwiki13.patch
Filename:
MIME Type:
Creator:
babak
Created:
2005-12-08 12:50:03 UTC
Size:
4.44 KB
patch
obsolete
>diff -ruN phpwiki13.orig/Makefile phpwiki13/Makefile >--- phpwiki13.orig/Makefile Thu Dec 8 14:21:39 2005 >+++ phpwiki13/Makefile Thu Dec 8 16:07:33 2005 >@@ -1,12 +1,13 @@ > # New ports collection makefile for: phpwiki >-# Date created: 09.Oct 2003 >-# Whom: dirk.meyer@dinoex.sub.org >+# Date created: 29-NOV-2005 >+# Whom: babak@farrokhi.net > # > # $FreeBSD: ports/www/phpwiki13/Makefile,v 1.13 2005/11/30 17:10:25 pav Exp $ > # > > PORTNAME= phpwiki > PORTVERSION= 1.3.11p1 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= phpwiki >@@ -17,24 +18,46 @@ > CONFLICTS+= phpwiki-1.2* > LATEST_LINK= phpwiki13 > >-.if !defined(WITHOUT_PHP_DEPENDS) >-USE_PHP= ctype pcre posix session tokenizer xml zlib mysql >-.if defined(WITH_CDB) || defined(WITH_DB4) || defined(WITH_GDBM) || defined(WITH_INIFILE) >-USE_PHP+= dba >-.endif >-.endif >+USE_PHP= ctype pcre posix session tokenizer xml zlib > > NO_BUILD= YES > PHP4_PORT?= www/mod_php4 > PHPWIKI?= www/data-dist/phpwiki > PLIST_SUB+= PHPWIKI=${PHPWIKI} >+SUB_FILES= pkg-message > ROOTFILES= GoogleSearch.wsdl PhpWiki.wsdl RPC2.php SOAP.php \ > configurator.php favicon.ico getimg.php gforge.php \ > index.php passencrypt.php wiki >-ROOTDIRS= config doc lib locale pgsrc schemas tests themes uploads >+ROOTDIRS= config lib locale pgsrc schemas tests themes uploads > DOCFILES= INSTALL LICENSE README TODO UPGRADING > >-do-configure: >+OPTIONS= MYSQL "Use MySQL backend" on \ >+ PGSQL "Use PostgreSQL backend" off \ >+ DB4 "Use Berkeley DB4 backend" off >+ >+.if defined(PHP_VER) && ${PHP_VER} == 5 >+ OPTIONS+= SQLITE "Use SQLite backend" off >+.endif >+ >+.include <bsd.port.pre.mk> >+ >+.if defined(WITH_DB4) >+USE_PHP+= dba >+.endif >+ >+.if !defined(WITHOUT_MYSQL) >+USE_PHP+= mysql >+.endif >+ >+.if defined(WITH_PGSQL) >+USE_PHP+= pgsql >+.endif >+ >+.if defined(WITH_SQLITE) >+USE_PHP+= sqlite >+.endif >+ >+.include "${PORTSDIR}/Mk/bsd.php.mk" > > do-install: > -${MKDIR} ${PREFIX}/${PHPWIKI} >@@ -48,6 +71,10 @@ > .for i in ${DOCFILES} > @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} > .endfor >+ @(cd ${WRKSRC} && ${CP} -R doc/* ${DOCSDIR}/ ) > .endif > >-.include <bsd.port.mk> >+post-install: >+ @${CAT} ${PKGMESSAGE} >+ >+.include <bsd.port.post.mk> >diff -ruN phpwiki13.orig/files/pkg-message.in phpwiki13/files/pkg-message.in >--- phpwiki13.orig/files/pkg-message.in Thu Jan 1 03:30:00 1970 >+++ phpwiki13/files/pkg-message.in Thu Dec 8 15:46:41 2005 >@@ -0,0 +1,12 @@ >+ >+=========================================================== >+ >+* If this is your first install, read the installation >+ instructions to setup your database, located at: >+ %%DOCSDIR%%/INSTALL.*: >+ >+* If you are upgrading from an older version of phpwiki, please >+ read upgrade instructions located at: >+ %%DOCSDIR%%/UPGRADING >+ >+=========================================================== >diff -ruN phpwiki13.orig/pkg-plist phpwiki13/pkg-plist >--- phpwiki13.orig/pkg-plist Thu Dec 8 14:21:39 2005 >+++ phpwiki13/pkg-plist Thu Dec 8 15:40:40 2005 >@@ -3,6 +3,23 @@ > %%DOCSDIR%%/README > %%DOCSDIR%%/TODO > %%DOCSDIR%%/UPGRADING >+%%DOCSDIR%%/CREDITS >+%%DOCSDIR%%/HISTORY >+%%DOCSDIR%%/INSTALL.MacOSX >+%%DOCSDIR%%/INSTALL.flatfile >+%%DOCSDIR%%/INSTALL.mSQL >+%%DOCSDIR%%/INSTALL.mysql >+%%DOCSDIR%%/INSTALL.oci8 >+%%DOCSDIR%%/INSTALL.pgsql >+%%DOCSDIR%%/INSTALL.sqlite >+%%DOCSDIR%%/README.coding >+%%DOCSDIR%%/README.foaf >+%%DOCSDIR%%/README.fpdf >+%%DOCSDIR%%/README.phpwiki-auth >+%%DOCSDIR%%/README.phpwiki-cache >+%%DOCSDIR%%/README.security >+%%DOCSDIR%%/THEMES >+%%DOCSDIR%%/phpwiki_architecture.png > %%PHPWIKI%%/GoogleSearch.wsdl > %%PHPWIKI%%/PhpWiki.wsdl > %%PHPWIKI%%/RPC2.php >@@ -14,23 +31,6 @@ > %%PHPWIKI%%/config/make-dbhelper.pl > %%PHPWIKI%%/config/phpwiki.spec > %%PHPWIKI%%/configurator.php >-%%PHPWIKI%%/doc/CREDITS >-%%PHPWIKI%%/doc/HISTORY >-%%PHPWIKI%%/doc/INSTALL.MacOSX >-%%PHPWIKI%%/doc/INSTALL.flatfile >-%%PHPWIKI%%/doc/INSTALL.mSQL >-%%PHPWIKI%%/doc/INSTALL.mysql >-%%PHPWIKI%%/doc/INSTALL.oci8 >-%%PHPWIKI%%/doc/INSTALL.pgsql >-%%PHPWIKI%%/doc/INSTALL.sqlite >-%%PHPWIKI%%/doc/README.coding >-%%PHPWIKI%%/doc/README.foaf >-%%PHPWIKI%%/doc/README.fpdf >-%%PHPWIKI%%/doc/README.phpwiki-auth >-%%PHPWIKI%%/doc/README.phpwiki-cache >-%%PHPWIKI%%/doc/README.security >-%%PHPWIKI%%/doc/THEMES >-%%PHPWIKI%%/doc/phpwiki_architecture.png > %%PHPWIKI%%/favicon.ico > %%PHPWIKI%%/getimg.php > %%PHPWIKI%%/gforge.php >@@ -1616,7 +1616,6 @@ > @dirrm %%PHPWIKI%%/lib/DbSession > @dirrm %%PHPWIKI%%/lib/ASCIIMathPHP > @dirrm %%PHPWIKI%%/lib >-@dirrm %%PHPWIKI%%/doc > @dirrm %%PHPWIKI%%/config > @dirrm %%PHPWIKI%% > @dirrm %%DOCSDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 90101
: 59922 |
59923