RCS file: /Volumes/src/cvs/od/proj/darwinports/base/doc/portfile.7,v
retrieving revision 1.35.2.1
diff -u -r1.35.2.1 portfile.7
|
|
|
52 | 52 | A |
53 | 53 | .Nm |
54 | 54 | author needs to be aware of the various standard targets, the options |
55 | | that they require, and the variables that both the targets and the port |
56 | | system provides. |
| 55 | that they require and the variables that both the targets and the port |
| 56 | system provide. |
57 | 57 | .Sh MAIN VARIABLES |
58 | 58 | All ports are required to set certain variables. |
59 | 59 | .Bl -tag -width lc |
… |
… |
|
96 | 96 | .Em required |
97 | 97 | .br |
98 | 98 | .Sy Example: |
99 | | .Dl description \*qDictionary Server Protocol (RFC2229) client\*q |
| 99 | .Dl description Dictionary Server Protocol (RFC2229) client |
100 | 100 | .It Ic long_description |
101 | 101 | A verbose description of the software and what it does. |
102 | 102 | .br |
… |
… |
|
116 | 116 | painting, processing, and rendering tools. |
117 | 117 | .Ed |
118 | 118 | .It Ic revision |
119 | | Local revision number of portfile. |
120 | | Increment for port revisions. |
| 119 | Local revision number of |
| 120 | .Nm . |
| 121 | Increment for port revisions which would change its installation in any way. |
121 | 122 | .br |
122 | 123 | .Sy Type: |
123 | 124 | .Em optional |
… |
… |
|
202 | 203 | .Ic distfiles . |
203 | 204 | The checksum |
204 | 205 | .Ar type |
205 | | can currently can be md5 or sha1. The |
| 206 | can currently be md5 or sha1. The |
206 | 207 | .Ar filename |
207 | 208 | can be omitted if there is only one distfile. |
208 | 209 | .br |
… |
… |
|
211 | 212 | .br |
212 | 213 | .Sy Example: |
213 | 214 | .Bd -literal -offset indent -compact |
214 | | checksums dictd-1.7.1.tar.gz md5 81317b86ea0a5df0163900ad2e6bb12c |
215 | | magic-words-1.7.1.tar.gz md5 897a005182928613eadd30c267ce9c5b |
| 215 | checksums dictd-1.7.1.tar.gz md5 81317b86ea0a5df0163900ad2e6bb12c \e\ |
| 216 | magic-words-1.7.1.tar.gz md5 897a005182928613eadd30c267ce9c5b |
216 | 217 | .Ed |
217 | 218 | .br |
218 | 219 | .Sy Example (ledit 1.11): |
219 | 220 | .Bd -literal -offset indent -compact |
220 | | checksums md5 a2d38ba641682509c1e964ad699a9dd2 |
221 | | sha1 1fb6443b5fdf3c83787953f06282d256477c1288 |
| 221 | checksums md5 a2d38ba641682509c1e964ad699a9dd2 \e\ |
| 222 | sha1 1fb6443b5fdf3c83787953f06282d256477c1288 |
222 | 223 | .Ed |
223 | 224 | .It Ic use_automake |
224 | 225 | If set to yes, run the |
… |
… |
|
289 | 290 | .It Va target Ns Ic .env |
290 | 291 | Change the environment the |
291 | 292 | .Va target |
292 | | is run in. This is often overridden. |
| 293 | is run in. This is often overridden on a per |
| 294 | .Nm |
| 295 | basis. |
293 | 296 | .br |
294 | 297 | .Sy Example: |
295 | 298 | .Dl configure.env CFLAGS=-O |
… |
… |
|
301 | 304 | .It Va target Ns Ic .args |
302 | 305 | Main arguments to pass to the |
303 | 306 | .Va target . |
304 | | This is often overridden. |
| 307 | This is often overridden on a per |
| 308 | .Nm |
| 309 | basis. |
305 | 310 | .br |
306 | 311 | .Sy Example: |
307 | 312 | .Dl configure.args --enable-fooble |
… |
… |
|
411 | 416 | .Ao filename Ac |
412 | 417 | is a program, "lib" if it is a library, or "path" if it is a path to an |
413 | 418 | installed file. If the dependency is really on a whole port and not an |
414 | | individual file, then a dummy value of "XXX" can be used as the |
415 | | .Ao filename Ac . |
| 419 | individual file, then the alternative syntax: |
| 420 | .Bl -tag -width ls |
| 421 | .It port: Ns Ao port Ac |
| 422 | .El |
| 423 | .Pp |
| 424 | should be used. |
| 425 | .Ao port Ac represents the name of an existing Darwinports |
| 426 | .Nm port . |
416 | 427 | .Bl -tag -width lc |
417 | 428 | .It Ic depends_build |
418 | 429 | List of dependencies to check before |
… |
… |
|
574 | 585 | .Ss FETCHING FROM CVS |
575 | 586 | As an alternative to fetching distribution files, pulling the sources |
576 | 587 | from a CVS repository is supported. Use of CVS can give rise to |
577 | | non-reproducible builds, so is strongly discouraged. |
| 588 | non-reproducible builds, so it is strongly discouraged. |
578 | 589 | .Bl -tag -width lc |
579 | 590 | .It Ic cvs.tag |
580 | 591 | CVS tag identifying the code to checkout. |
… |
… |
|
603 | 614 | .Sy Example: |
604 | 615 | .Dl extract.only worksrc-1.4.4.tar.gz |
605 | 616 | .It Ic extract.cmd |
606 | | Command to perform extract. |
| 617 | Command to perform the extraction. |
607 | 618 | .br |
608 | 619 | .Sy Type: |
609 | 620 | .Em optional |
… |
… |
|
731 | 742 | .br |
732 | 743 | .Sy Example: |
733 | 744 | .Dl destroot.umask 002 |
| 745 | .It Ic destroot.keepdirs |
| 746 | List of directories that should not be pruned if empty upon destroot completion. |
| 747 | .br |
| 748 | .Sy Type: |
| 749 | .Em optional |
| 750 | .br |
| 751 | .Sy Example: |
| 752 | .Dl destroot.keepdirs ${destroot}${prefix}/var/log/mysql |
734 | 753 | .El |
735 | 754 | .Sh TEST OPTIONS |
736 | 755 | Execute commands to run test suites bundled with a port. |
… |
… |
|
802 | 821 | .Op Cm requires Ar variant |
803 | 822 | .Op Cm conflicts Ar variant |
804 | 823 | .Xc |
805 | | The value is usually a TCL script which modifies other port |
| 824 | The value is usually a TCL script which modifies other port's |
806 | 825 | .Nm |
807 | 826 | variables. Dependencies and conflicts with other variants in the same |
808 | 827 | port can be expressed with |
… |
… |
|
978 | 997 | and with a list users as members. |
979 | 998 | .It Ic existsgroup Ar group |
980 | 999 | Check if a local group exists. |
981 | | .Ic nextgid |
| 1000 | .It Ic nextgid |
982 | 1001 | Returns the highest used gid plus one. |
983 | 1002 | .It Ic reinplace Ar regex Ar filename |
984 | | Provide in-place editing of a file. |
| 1003 | Provide in-place sed like editing of a file. |
985 | 1004 | .br |
986 | 1005 | .Sy Example: |
987 | 1006 | .Dl reinplace \*qs|/usr/local|${prefix}|g\*q doc/manpage.1 |
| 1007 | .It Ic file |
| 1008 | Standard TCL command to manipulate file names and attributes. See |
| 1009 | .Xr file n . |
988 | 1010 | .It Ic system Ar commandline |
989 | 1011 | Execute a program. See |
990 | 1012 | .Xr system 3 . |
| 1013 | For calls to |
| 1014 | .Xr install 1 |
| 1015 | please use |
| 1016 | .Nm xinstall . |
| 1017 | For calls to |
| 1018 | .Xr mv 1 , |
| 1019 | .Xr cp 1 , |
| 1020 | .Xr rm 1 |
| 1021 | or similar, please use |
| 1022 | .Nm file . |
991 | 1023 | .It Ic variant_isset Ar variant |
992 | 1024 | Checks if the given |
993 | 1025 | .Ar variant |
… |
… |
|
1064 | 1096 | .Sh SEE ALSO |
1065 | 1097 | .Xr port 1 , |
1066 | 1098 | .Xr porthier 7 , |
1067 | | .Xr portstyle 7 |
| 1099 | .Xr portstyle 7 , |
| 1100 | .Xr file n |
1068 | 1101 | .Sh AUTHORS |
1069 | 1102 | .An "Landon Fuller" Aq landonf@opendarwin.org |
1070 | 1103 | .An "Kevin Van Vechten" Aq kevin@opendarwin.org |
1071 | 1104 | .An "Jordan K. Hubbard" Aq jkh@opendarwin.org |
| 1105 | .An "Chris Ridd" Aq cjr@opendarwin.org |
| 1106 | No newline at end of file |