summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg/files/port2pkg.1
blob: 459e2c479f32957bca85daa01ec869878af741c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.\"	$NetBSD: port2pkg.1,v 1.4 2004/01/10 21:19:59 wiz Exp $
.\"
.\" Copyright (c) 1999 by Kazuki Sakamoto (sakamoto@netbsd.org)
.\" Absolutely no warranty.
.\"
.Dd January 10, 2004
.Dt PORT2PKG 1
.Sh NAME
.Nm port2pkg
.Nd convert a FreeBSD port to a NetBSD package
.Sh SYNOPSIS
.Nm
.Op Fl m Ar maintainer
.Ar portsdir
.Ar pkgsrcdir
.Sh DESCRIPTION
.Nm
tries to convert a
.Fx
port to a
.Nx
package.
.Nm
copies files
from
.Ar portsdir
to
.Ar pkgsrcdir
(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
.Bl -tag -width Fl
.It Fl m
Adjust maintainer of this package
(default: tech-pkg@NetBSD.org).
.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
.Pa pkgsrc/Packages.txt .
.Sh AUTHORS
.An Kazuki Sakamoto Aq sakamoto@netbsd.org
.Sh BUGS
.Nm
is not a magic wand, please double-check converted pkgsrc.