Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 1997 20:58:38 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        joes@seaport.net
Cc:        ports@freebsd.org
Subject:   Re: Help!!! :) Trying to make a new port
Message-ID:  <199708050358.UAA24891@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199708030719.AAA26582@shasta.wstein.com> (message from Joseph Stein on Sun, 3 Aug 1997 00:19:42 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * So, I thought... (source Makefile)
 * 
 * install: $(PROG)
 * 	${INSTALL_PROGRAM} $(PROG) ${PREFIX}/bin/$(PROG)
 * 	${INSTALL_MAN} $(PROG).man ${PREFIX}/man/man1/$(PROG).1
 * 	gzip -9 ${PREFIX}/man/man1/$(PROG).1

Almost.  In the port Makefile, put:

===
MAN1=	PROG.1

do-install
	${INSTALL_PROGRAM} ${WRKSRC}/PROG ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/PROG.man ${PREFIX}/man/man1/PROG.1
===

(Note you really need to replace "PROG" by your program name here.)

Satoshi



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