License | FreeBSD |
---|---|
Maintainer | penzin.dev@gmail.com |
Stability | experimental |
Portability | non-portable (FreeBSD specific) |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Module to check existence and interact with various port and package tools
- isPortmasterPresent :: IO Bool
- isPkgToolsPresent :: IO Bool
- isPkgNgPresent :: IO Bool
- isPkgPresent :: IO Bool
- upgradeWithPortmaster :: String -> IO ()
- upgradeWithPortupgrade :: String -> IO ()
- upgradeWithMake :: String -> IO ()
Functions
Check for Portmater
isPortmasterPresent :: IO Bool Source
Check whether portmaster is installed by looking if we can run the command
Check for PkgTools (portupgrade and the like)
isPkgToolsPresent :: IO Bool Source
Check whether pkgtools is installed by looking if we can run portupgrade command
Check for PkgNG (newer package tool)
isPkgNgPresent :: IO Bool Source
Check whether pkgNG is installed by looking if we can run pkg command
Check for Pkg (older package tool)
isPkgPresent :: IO Bool Source
Check for pre-NG package manager
Upgrade a port using portmaster
upgradeWithPortmaster :: String -> IO () Source
Upgrade a single port with portmaster
Upgrade a port using portupgrade
upgradeWithPortupgrade :: String -> IO () Source
Upgrade a single port with portupgrade
Upgrade a port using make command
upgradeWithMake :: String -> IO () Source
Upgrade a single port using Make