Fix plist w.r.t INSTALL_ALSO_AS_SSSL.
PR: ports/36560 Submitted by: Adam Jones
This commit is contained in:
parent
7102fd354b
commit
524302451b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109975
@ -23,6 +23,9 @@ COMMENT= Embedded Perl 5 Language
|
||||
|
||||
.if defined(INSTALL_ALSO_AS_SSSL)
|
||||
RUN_DEPENDS= ${PREFIX}/etc/apache/srm.conf:${PORTSDIR}/${APACHE_PORT}
|
||||
PLIST_SUB= SSSL=""
|
||||
.else
|
||||
PLIST_SUB= SSSL="@comment "
|
||||
.endif
|
||||
|
||||
USE_PERL5= yes
|
||||
|
@ -1,8 +1,8 @@
|
||||
bin/eperl
|
||||
@comment www/cgi-bin/nph-eperl
|
||||
@exec echo "AddType application/x-httpd-eperl .phtml .eperl .epl" >>%D/etc/apache/srm.conf
|
||||
@exec echo "Action application/x-httpd-eperl /cgi-bin/nph-eperl" >>%D/etc/apache/srm.conf
|
||||
@unexec grep -v "application/x-httpd-eperl" %D/etc/apache/srm.conf >%D/etc/apache/srm.conf.bak; mv %D/etc/apache/srm.conf.bak %D/etc/apache/srm.conf
|
||||
%%SSSL%%www/cgi-bin/nph-eperl
|
||||
%%SSSL%%@exec echo "AddType application/x-httpd-eperl .phtml .eperl .epl" >>%D/etc/apache/srm.conf
|
||||
%%SSSL%%@exec echo "Action application/x-httpd-eperl /cgi-bin/nph-eperl" >>%D/etc/apache/srm.conf
|
||||
%%SSSL%%@unexec grep -v "application/x-httpd-eperl" %D/etc/apache/srm.conf >%D/etc/apache/srm.conf.bak; mv %D/etc/apache/srm.conf.bak %D/etc/apache/srm.conf
|
||||
share/examples/eperl/00README
|
||||
share/examples/eperl/demo.cgipm.phtml
|
||||
share/examples/eperl/demo.cgipm.iphtml
|
||||
|
Loading…
Reference in New Issue
Block a user