Commit f9048943 authored by Gary Wong's avatar Gary Wong
Browse files

Add mod_wsgi3 and py-flask ports (needed for ops-monitoring).

parent e9a21edc
#
# Add mod_wsgi3 and py-flask ports.
#
use strict;
use libinstall;
use emdbi;
sub InstallUpdate($$)
{
my ($version, $phase) = @_;
if ($phase eq "pre") {
Phase "mod_wsgi3", "Checking for port mod_wsgi3", sub {
DoneIfPackageInstalled("mod_wsgi3");
ExecQuietFatal("cd $PORTSDIR/www/mod_wsgi3; ".
"make MASTER_SITE_FREEBSD=1 -DBATCH install");
};
Phase "py-flask", "Checking for port py-flask", sub {
DoneIfPackageInstalled("py-flask");
ExecQuietFatal("cd $PORTSDIR/www/py-flask; ".
"make MASTER_SITE_FREEBSD=1 -DBATCH install");
};
}
return 0;
}
1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment