openbsd-ports/infrastructure
espie 75c9fbaa3f basic framework to have control over shared libs numbers:
SHARED_LIBS enumerates the libraries like so:
SHARED_LIBS=	foo 1.0 \
		zop 2.5 \
		tag 3.0

This just defines LIBfoo_VERSION=1.0, LIBzop_VERSION=2.5, LIBtag_VERSION=3.0
and adds these to SUBST_VAR, further tweaks must be done, usually at the
MAKE_FLAGS/MAKE_ENV level.

For gnu ports that use automake, the supplementary MODGNU_SHARED_LIBS
variable can be used like this:
MODGNU_SHARED_LIBS=	foo	'-no-undefined'

and it will define libfoo_la_LD_FLAGS=--version-info 1:0:0 -no-undefined

Some gnu ports have weird variable names for libraries. For instance,
the libORBit-2 is set using libORBit_2.
LIBORbit-2_ALIAS=ORBit_2
will make sure the correct name is used.

much feedback from bernd@
2005-12-23 12:41:37 +00:00
..
build Minor clarification of message, ok espie@ 2005-12-06 17:15:38 +00:00
db _akpop3d 2005-12-14 05:59:47 +00:00
fetch Failed retrieval of a ports distfiles can leave a file containing 2005-06-04 22:53:03 +00:00
install error out in case we can't write files. 2005-11-02 21:39:43 +00:00
mk basic framework to have control over shared libs numbers: 2005-12-23 12:41:37 +00:00
package be more specific about conflict handling: conflicts can be registered at 2005-12-12 13:37:21 +00:00
patches
plist non-static flavors for all 2005-12-12 23:32:22 +00:00
templates remove some old or non-responsive MASTER_SITE_APACHE mirrors 2005-12-07 18:57:07 +00:00
README

This directory does not hold ports, but rather stuff to help
with building specific ports, or with checking packages.

Better documentation will be written as this progresses.

Quick list of what exists, most useful stuff first

build/bundle-readmes: 
	create README.html files and bundle them as one tar archive.

fetch/check-distfiles
	heuristic to check the whole contents of /usr/ports/distfiles against
	all MD5 files in the ports tree.
	
packages/check-dependencies
	Check dependencies for all packages in the current directory.
	Basically, verifies that the tsort in bsd.port.mk did their job.

build/find-build-order
	used such as cat plist/i386 | build/find-build-order
	outputs a list of stuff that actually needs to be built to obtain those
	packages, in a suitable order for removing backward dependencies.

	Optional arg `build' or `run' to take only build or run dependencies
	into account.

	Major defect: tsort is not a stable sort, so find-build-order will
	rearrange the list it gets as input.

build/out-of-date
	compare installed registered packages with INDEX, try to find out 
	of date ports.

install/make-plist
	perl helper for the make plist target

db/network.conf
	Distfiles configuration. Tweakable by the user

fetch/check-license
	legacy script used by Marco to check the LICENSE files

install/create-user
	simple script to create new users account, based on db/users.db

build/outdated-perl-ports
	compare perl ports INDEX entries with the latest module
	versions available from CPAN