https://github.com/amake/pub2port
A MacPorts (partial) portfile generator for Dart projects
https://github.com/amake/pub2port
dart macports pub
Last synced: 4 days ago
JSON representation
A MacPorts (partial) portfile generator for Dart projects
- Host: GitHub
- URL: https://github.com/amake/pub2port
- Owner: amake
- License: bsd-3-clause
- Created: 2025-02-17T23:36:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-01T02:15:25.000Z (about 1 year ago)
- Last Synced: 2026-06-15T12:15:11.007Z (22 days ago)
- Topics: dart, macports, pub
- Language: Dart
- Homepage: https://pub.dev/packages/pub2port
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pub2port: a MacPorts (partial) portfile generator for Dart projects
pub2port is a tool for generating `pub.packages` stanzas for use in
[MacPorts](https://www.macports.org/) portfiles that build projects written in
[Dart](https://dart.dev/).
## Installation
Install with MacPorts:
```
sudo port install pub2port
```
Or with Dart:
```
dart pub global activate pub2port
```
## Usage
Generate from a local file:
```
pub2port path/to/pubspec.lock
```
Or from a remote file like so:
```
curl https://example.com/git/raw/pubspec.lock | pub2port
```
## License
pub2port is available under the three-clause BSD license.
## See also
- [pub-1.0
PortGroup](https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/pub-1.0.tcl)