Date: Sun, 21 May 2000 23:45:29 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: ports@freebsd.org Subject: Help needed with port Makefile Message-ID: <20000521234529.C236@parish>
next in thread | raw e-mail | index | archive | help
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. -- ...and on the eighth day God created UNIX ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com 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?20000521234529.C236>