2005-05-08 00:14:02 +02:00
|
|
|
.\" $NetBSD: port2pkg.1,v 1.5 2005/05/07 22:14:02 wiz Exp $
|
1999-07-27 13:33:06 +02:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1999 by Kazuki Sakamoto (sakamoto@netbsd.org)
|
|
|
|
.\" Absolutely no warranty.
|
|
|
|
.\"
|
2004-01-10 22:19:59 +01:00
|
|
|
.Dd January 10, 2004
|
1999-07-27 13:33:06 +02:00
|
|
|
.Dt PORT2PKG 1
|
|
|
|
.Sh NAME
|
|
|
|
.Nm port2pkg
|
2001-12-03 20:03:19 +01:00
|
|
|
.Nd convert a FreeBSD port to a NetBSD package
|
1999-07-27 13:33:06 +02:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl m Ar maintainer
|
|
|
|
.Ar portsdir
|
|
|
|
.Ar pkgsrcdir
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2001-12-03 20:03:19 +01:00
|
|
|
tries to convert a
|
|
|
|
.Fx
|
|
|
|
port to a
|
|
|
|
.Nx
|
|
|
|
package.
|
1999-07-27 13:33:06 +02:00
|
|
|
.Nm
|
|
|
|
copies files
|
|
|
|
from
|
|
|
|
.Ar portsdir
|
|
|
|
to
|
|
|
|
.Ar pkgsrcdir
|
2001-12-03 20:03:19 +01:00
|
|
|
(if
|
|
|
|
.Ar pkgsrcdir
|
|
|
|
doesn't exists, it is created first),
|
|
|
|
and tries adapting the Makefile, patches and some other files
|
|
|
|
to
|
|
|
|
.Nx
|
|
|
|
pkgsrc.
|
|
|
|
.Ss Options
|
1999-07-27 13:33:06 +02:00
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Fl m
|
2001-12-03 20:03:19 +01:00
|
|
|
Adjust maintainer of this package
|
2004-01-10 20:23:41 +01:00
|
|
|
(default: tech-pkg@NetBSD.org).
|
1999-07-27 13:33:06 +02:00
|
|
|
.El
|
|
|
|
.Sh EXAMPLES
|
|
|
|
.Dl port2pkg /mnt/ports/<category>/foo /usr/pkgsrc/<category>/foo
|
|
|
|
or
|
|
|
|
.Dl port2pkg -m your@email /mnt/ports/<category>/foo /usr/pkgsrc/<category>/foo
|
|
|
|
.Sh SEE ALSO
|
|
|
|
Read
|
|
|
|
.Ar Package Constructor's Guide
|
|
|
|
in
|
2005-05-08 00:14:02 +02:00
|
|
|
.Pa pkgsrc/doc/pkgsrc.txt .
|
2001-12-03 20:03:19 +01:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Kazuki Sakamoto Aq sakamoto@netbsd.org
|
1999-07-27 13:33:06 +02:00
|
|
|
.Sh BUGS
|
|
|
|
.Nm
|
|
|
|
is not a magic wand, please double-check converted pkgsrc.
|