aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-25 14:06:53 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-25 14:06:53 +0000
commit524302451bf92d62b3d84e440ffd86ddfa9429db (patch)
tree5d0054e35843032fb0483a3a1ccee2e05c31029f
parent7102fd354bd9a37d409dd04460b75df31de421d9 (diff)
downloadports-524302451bf92d62b3d84e440ffd86ddfa9429db.tar.gz
ports-524302451bf92d62b3d84e440ffd86ddfa9429db.zip
Notes
-rw-r--r--lang/eperl/Makefile3
-rw-r--r--lang/eperl/pkg-plist8
2 files changed, 7 insertions, 4 deletions
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