version 1.24, 2000/05/31 10:55:26 |
version 1.25, 2000/05/31 17:37:19 |
|
|
Pick a place to put your port and create the basic |
Pick a place to put your port and create the basic |
infrastructure there. Use the template Makefile at |
infrastructure there. Use the template Makefile at |
<code>/usr/ports/infrastructure/templates/Makefile.template</code>. |
<code>/usr/ports/infrastructure/templates/Makefile.template</code>. |
|
|
|
<br> |
|
NEED_VERSION relates to the version in the $OpenBSD tag of |
|
<tt>$(PORTSDIR)/infrastructure/mk/bsd.port.mk</tt>: e.g. |
|
<tt>$OpenBSD: bsd.port.mk,v 1.287 ...</tt> would get |
|
<tt>NEED_VERSION=1.287</tt> in your Makefile. |
|
The fullproof and right way is to choose the most recent version you can |
|
find. As you are a port developer, you are supposed to update |
|
your ports, including bsd.port.mk. |
|
<br> |
|
|
<ul><li> |
<ul><li> |
Create the directories <code>files, patches, pkg</code>. |
Create the directories <code>files, patches, pkg</code>. |
<li> |
<li> |