diff -ur phpwcms.orig/phpwcms-1.2.5.ebuild phpwcms/phpwcms-1.2.5.ebuild --- phpwcms.orig/phpwcms-1.2.5.ebuild 2006-01-05 15:14:16.000000000 -0700 +++ phpwcms/phpwcms-1.2.5.ebuild 2006-01-05 16:02:35.000000000 -0700 @@ -13,12 +13,14 @@ LICENSE="GPL-2 LGPL-2 public-domain htmlArea" KEYWORDS="~x86" -IUSE="gs mysql" +IUSE="gs gd" +# this web-app requires explictly requires mysql. +# the v2 release is projected to have DB independence RDEPEND="virtual/httpd-php net-www/apache - mysql? ( dev-db/mysql ) - media-libs/gd + dev-db/mysql + gd? ( media-libs/gd ) media-gfx/imagemagick gs? ( virtual/ghostscript )" @@ -67,7 +69,9 @@ mv _.htaccess .htaccess - local files="setup/setup.conf.inc.php setup/setup.func.inc.php phpwcms_ftp + # file list of needed permissions + # http://www.phpwcms-docu.de/installation_en.phtml + local files="setup/setup.conf.inc.php phpwcms_ftp phpwcms_filestorage phpwcms_filestorage/can_be_deleted phpwcms_template content content/images content/gt content/form content/rss content/tmp content/pages phpwcms_template/inc_css/frontend.css @@ -79,9 +83,12 @@ done cd ${S} + # This entire Dir is the configs. As you add new features, new configs are + # added. this entire dir needs to be prevented from being deleted. + # I don't know if this is sufficient keepdir ${MY_HTDOCSDIR}/config - webapp_configfile ${MY_HTDOCSDIR}/config/phpwcms/conf.inc.php + # removed configflie see above webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install }