BSD Ports

pkgtools/port2pkg 1.15nb9 NetBSD

Convert from a FreeBSD port to a NetBSD package

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
pkgtools
Package size
5.1 KiB, 9.4 KiB installed

Description

A converter from a FreeBSD port to a NetBSD package.

port2pkg tries to convert FreeBSD ports to NetBSD packages. port2pkg copies files from portsdir to pkgsrcdir (if it does not exist, the pkgsrcdir is created), and tries to adapt the Makefile, patches and some files to NetBSD format in pkgsrcdir.

port2pkg /mnt/ports/<category>/foo /usr/pkgsrc/<category>/foo

Before committing a package which has been transformed using this utility, please check the results manually.

Install

Binary package:

pkgin install port2pkg

From pkgsrc:

cd /usr/pkgsrc/pkgtools/port2pkg && make install clean

Dependencies

Run dependencies 2

No port depends on this one.