Differential D29450 Diff 86404 documentation/content/en/books/porters-handbook/makefiles/chapter.adoc
Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/porters-handbook/makefiles/chapter.adoc
Show First 20 Lines • Show All 1,143 Lines • ▼ Show 20 Lines | |||||
The older expanded format still works, but all ports have been converted to the compact format. The expanded format looks like this: | The older expanded format still works, but all ports have been converted to the compact format. The expanded format looks like this: | ||||
[.programlisting] | [.programlisting] | ||||
.... | .... | ||||
MASTER_SITES= ${MASTER_SITE_GNU} | MASTER_SITES= ${MASTER_SITE_GNU} | ||||
MASTER_SITE_SUBDIR= make | MASTER_SITE_SUBDIR= make | ||||
.... | .... | ||||
These values and variables are defined in https://svnweb.freebsd.org/ports/head/Mk/bsd.sites.mk?view=markup[Mk/bsd.sites.mk]. New entries are added often, so make sure to check the latest version of this file before submitting a port. | These values and variables are defined in https://cgit.freebsd.org/ports/tree/Mk/bsd.sites.mk[Mk/bsd.sites.mk]. New entries are added often, so make sure to check the latest version of this file before submitting a port. | ||||
[TIP] | [TIP] | ||||
==== | ==== | ||||
For any `MASTER_SITE_FOO` variable, the shorthand `_FOO_` can be used. For example, use: | For any `MASTER_SITE_FOO` variable, the shorthand `_FOO_` can be used. For example, use: | ||||
[.programlisting] | [.programlisting] | ||||
.... | .... | ||||
▲ Show 20 Lines • Show All 3,685 Lines • Show Last 20 Lines |