Date: Mon, 22 May 2000 08:35:31 -0400 From: James Housley <jim@thehousleys.net> To: Mark Ovens <mark@dogma.freebsd-uk.eu.org> Cc: ports@FreeBSD.ORG Subject: Re: Help needed with port Makefile Message-ID: <39292993.19441F4D@thehousleys.net> References: <20000521234529.C236@parish>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Ovens wrote: > > I'm trying to make a Makefile for a port and am having problems > installing the manpage. > > The port is only a sh(1) script but the porters handbook (which I've > spent a good deal of time reading) seems to be all based around built > from source ports where there is a Makefile in ${WRKSRC}. Since I > don't have that everything needs to be in the top level Makefile. > > Looking at other ports I've arrived at: > > PORTNAME= foobar > PORTVERSION= 1.0 > CATEGORIES= sysutils > MASTER_SITES= ftp://ftp.ukug.uk.freebsd.org/pub/mark/foobar/ > > MAINTAINER= mark@ukug.uk.freebsd.org > > MAN1= foobar.1 > MANCOMPRESSED= yes > NO_BUILD= yes > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/foobar ${PREFIX}/bin/foobar > ${INSTALL_MAN} ${WRKSRC}/foobar.man ${PREFIX}/man/man1/${MAN1} > > .include <bsd.port.mk> > > The script itself installs OK and so does the manpage, except that I > can't work out how to compress it. > > Unfortunately I can't find another port that only installs that also > has a manpage. Any pointers would be much appreciated. > > Thanks. > > BTW, please Cc: me as I'm not current;y subscribed to -ports. > Look into NO_WRKSUBDIR, in /usr/ports/Mk/port.bsd.mk Jim -- Nothing is fool proof, because fools are too ingenious. 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?39292993.19441F4D>