blob: 4d3d372174fd3e2376c4f898abad89de7b27060d (
plain)
1 .\"
2 .\" prtcreate manual page.
3 .\" (C) 2003 by Martin Opel <mo@obbl-net.de>
4 .\"
5 .TH prtcreate 1
6 .SH NAME
7 prtcreate \- create a CRUX Pkgfile in current directory
8 .SH SYNOPSIS
9 .PP
10 .B prtcreate
11 .SH DESCRIPTION
12
13 The \fIprtcreate\fP script creates a Pkgfile with all necessary fields in
14 the current directory. The name of the port is the current directory and the
15 release number is set to 1. All other fields are empty. If the Pkgfile already
16 exists, an error message is printed and \fIprtcreate\fP exits with an error
17 status of 1.
18
19 .SH OPTIONS
20 No options yet.
21
22 .SH EXAMPLES
23
24 Call \fIprtcreate\fP in a new created directory:
25 .PP
26 .nf
27 root@hostname:/root # mkdir my-new-port
28 root@hostname:/root # cd my-new-port
29 root@hostname:/root/my-new-port # prtcreate
30 root@hostname:/root/my-new-port # cat Pkgfile
31
32 # Description:
33 # URL:
34 # Maintainer:
35 # Depends on:
36
37 name=my-new-port
38 version=
39 release=1
40 source=()
41
42 build() {
43 cd $name-$version
44 }
45
46 .fi
47 .PP
48
49 .SH AUTHOR
50
51 \fIprtcreate\fP was written by Martin Opel <mo@obbl-net.de> for CRUX Linux.
|