aboutsummaryrefslogtreecommitdiffstats
path: root/lang/eperl
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-05-25 22:06:53 +0800
committervs <vs@FreeBSD.org>2004-05-25 22:06:53 +0800
commit7a16fc6295de38f4cc741c24d989b425045c1e7a (patch)
tree147b39daa20e804fefe32026f23bf37ae35e8130 /lang/eperl
parent0a25fd2c200805780f8681d1b220a1f525ff7582 (diff)
downloadfreebsd-ports-gnome-7a16fc6295de38f4cc741c24d989b425045c1e7a.tar.gz
freebsd-ports-gnome-7a16fc6295de38f4cc741c24d989b425045c1e7a.tar.zst
freebsd-ports-gnome-7a16fc6295de38f4cc741c24d989b425045c1e7a.zip
Fix plist w.r.t INSTALL_ALSO_AS_SSSL.
PR: ports/36560 Submitted by: Adam Jones
Diffstat (limited to 'lang/eperl')
-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