diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile index d2f340b6a36f..a7fd8da48374 100644 --- a/lang/eperl/Makefile +++ b/lang/eperl/Makefile @@ -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 diff --git a/lang/eperl/pkg-plist b/lang/eperl/pkg-plist index efd93e5315ef..40563ec24294 100644 --- a/lang/eperl/pkg-plist +++ b/lang/eperl/pkg-plist @@ -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