Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 115943
Collapse All | Expand All

(-)phpwcms.orig/phpwcms-1.2.5.ebuild (-5 / +12 lines)
Lines 13-24 Link Here
13
13
14
LICENSE="GPL-2 LGPL-2 public-domain htmlArea"
14
LICENSE="GPL-2 LGPL-2 public-domain htmlArea"
15
KEYWORDS="~x86"
15
KEYWORDS="~x86"
16
IUSE="gs mysql"
16
IUSE="gs gd"
17
17
18
# this web-app requires explictly requires mysql. 
19
# the v2 release is projected to have DB independence
18
RDEPEND="virtual/httpd-php
20
RDEPEND="virtual/httpd-php
19
	net-www/apache
21
	net-www/apache
20
	mysql? ( dev-db/mysql )
22
	dev-db/mysql 
21
	media-libs/gd
23
	gd? ( media-libs/gd )
22
	media-gfx/imagemagick
24
	media-gfx/imagemagick
23
	gs? ( virtual/ghostscript )"
25
	gs? ( virtual/ghostscript )"
24
26
Lines 67-73 Link Here
67
69
68
	mv _.htaccess .htaccess
70
	mv _.htaccess .htaccess
69
71
70
	local files="setup/setup.conf.inc.php setup/setup.func.inc.php phpwcms_ftp
72
	# file list of needed permissions
73
	# http://www.phpwcms-docu.de/installation_en.phtml
74
	local files="setup/setup.conf.inc.php phpwcms_ftp
71
		phpwcms_filestorage phpwcms_filestorage/can_be_deleted phpwcms_template
75
		phpwcms_filestorage phpwcms_filestorage/can_be_deleted phpwcms_template
72
		content content/images content/gt content/form content/rss content/tmp
76
		content content/images content/gt content/form content/rss content/tmp
73
		content/pages phpwcms_template/inc_css/frontend.css
77
		content/pages phpwcms_template/inc_css/frontend.css
Lines 79-87 Link Here
79
	done
83
	done
80
84
81
	cd ${S}
85
	cd ${S}
86
	# This entire Dir is the configs.  As you add new features, new configs are
87
	# added. this entire dir needs to be prevented from being deleted.
88
	# I don't know if this is sufficient
82
	keepdir ${MY_HTDOCSDIR}/config
89
	keepdir ${MY_HTDOCSDIR}/config
83
90
84
	webapp_configfile ${MY_HTDOCSDIR}/config/phpwcms/conf.inc.php
91
	# removed configflie see above
85
	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
92
	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
86
	webapp_src_install
93
	webapp_src_install
87
}
94
}

Return to bug 115943