Skip site navigation (1)Skip section navigation (2)
Date:      19 Oct 2000 23:31:44 -0700
From:      asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
To:        Graham Guttocks <graham_guttocks@yahoo.co.nz>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: script to automate ports install?
Message-ID:  <vqcbswgkoq7.fsf@bubble.hip.berkeley.edu>
In-Reply-To: Graham Guttocks's message of "Fri, 20 Oct 2000 16:35:43 %2B1300 (NZDT)"
References:  <20001020033543.1459.qmail@web10308.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Graham Guttocks <graham_guttocks@yahoo.co.nz>

 * I'd like to feed the script a long list of ports and have it walk
 * through my tree and do a "make install" on each one sequentially.

Create a file called "makefile" (note lowercase "m") in /usr/ports
and put the following:

===
SUBDIR+= category1/port1
SUBDIR+= category2/port2
SUBDIR+= category3/port3

(etc.)

.include <bsd.port.subdir.mk>
===

and "make install clean" in /usr/ports will DTRT for you. :)

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcbswgkoq7.fsf>