*BSD News Article 76824


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!news.kei.com!uhog.mit.edu!netnews.com!news.dx.net!news.accessus.net!nntp.alaska.net!usenet
From: hmmm <hmmm@alaska.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PORTS install
Date: Thu, 22 Aug 1996 09:40:55 -0700
Organization: Internet Alaska Inc.
Lines: 27
Message-ID: <321C8D97.66F@alaska.net>
NNTP-Posting-Host: hmmm.alaska.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

ok, after beating myself to death trying to figure out how to install 
PORTS manually, i would like to present some assistance to anyone
else that may need to go about a PORTS install without CD's or
FTPing.

1. in DOS: cd to root and create a PORTS directory
2. create a DISTFILE subdirectory in PORTS
3. use WS_FTP or some other DOS FTP program to create all
the subdirectories in PORTS so as to mirror the subdirectories
of the PORTS collection you want at FTP.FreeBSD.ORG 
(or ftp.cdrom.com or whatever ...)
4. download all the files in each subdirectory of the port you want,
mirroring the exact directory/file structure in the PORTS collection.
be sure to take notes on their correct names since DOS will change cases
& truncate filenames.
5. go to the DISTFILES directory at the remote site and FTP
the "*.tgz" source archive of the port you want and put it in
your PORT/DISTFILE directory.
6. reboot to FreeBSD partition.  (tip: get Midnight Commander going!)
7. delete /usr/ports and copy your DOS "\PORTS" to BSD "\usr\ports".
8. rename all files/directories to original names & case sensitivity.
9. now go into "/usr/ports/Makefile" & "/usr/ports/PORTGROUP/Makefile" 
and comment out the ports you are not installing.
10. now go to /usr/ports and type "make install" and everything
should go fine ...

hope this save someone some grief!