From c56a2748b524615c62e8ce0f8acd20ec2168a0ae Mon Sep 17 00:00:00 2001 From: asami Date: Thu, 21 Mar 1996 14:15:01 +0000 Subject: [PATCH] Add comment about DIST_SUBDIR. --- share/doc/handbook/porting.sgml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/share/doc/handbook/porting.sgml b/share/doc/handbook/porting.sgml index 905e7e4f9978..2b990f4e7430 100644 --- a/share/doc/handbook/porting.sgml +++ b/share/doc/handbook/porting.sgml @@ -1,4 +1,4 @@ - + Porting an existing piece of free software @@ -156,7 +156,7 @@ The pattern is the year followed by the month. # Date created: 5 December 1994 # Whom: asami # - # $Id: porting.sgml,v 1.14 1996/03/06 09:04:43 asami Exp $ + # $Id: porting.sgml,v 1.15 1996/03/06 09:45:04 asami Exp $ # DISTNAME= oneko-1.1b @@ -790,6 +790,28 @@ FETCH_DEPENDS= ncftp2:${PORTSDIR}/net/ncftp2 way for the packages to read variables from /etc/make.conf.) + + DIST_SUBDIR +

Don't let your port clutter /usr/ports/distfiles. If + your port requires a lot of files (including patchfiles) to be + fetched, or contains a file that has a name that might conflict + with other ports (e.g., `Makefile'), set + ${DIST_SUBDIR} to the name of the port + (${PKGNAME} without the version part should work + fine). This will change ${DISTDIR} from the + default /usr/ports/distfiles to + /usr/ports/distfiles/${DIST_SUBDIR}, and in + effect puts everything that is required for your port into that + subdirectory. + +

It will also look at the subdirectory with the same name on the + backup master site at ftp.freebsd.org. (Setting + ${DISTDIR} explicitly in your Makefile will not + accomplish this, so please use ${DIST_SUBDIR}.) + +

Note this does not affect the ${MASTER_SITES} + you define in your Makefile. + Custom utilities

Don't rely on custom utilities in your local configure @@ -936,7 +958,7 @@ lib/libtcl.so.7.3 person who wrote this Makefile] # Whom: Satoshi Asami # - # $Id: porting.sgml,v 1.14 1996/03/06 09:04:43 asami Exp $ + # $Id: porting.sgml,v 1.15 1996/03/06 09:45:04 asami Exp $ [ ^^^^ don't worry about this...it will be automatically filled in by CVS when it is committed to our repository] #