From owner-freebsd-ports Mon May 22 5: 7:16 2000 Delivered-To: freebsd-ports@freebsd.org Received: from praseodumium.btinternet.com (praseodumium.btinternet.com [194.73.73.82]) by hub.freebsd.org (Postfix) with ESMTP id A2B1837B653 for ; Mon, 22 May 2000 05:07:13 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [62.6.94.15] (helo=parish.my.domain) by tantalum with esmtp (Exim 2.05 #1) id 12teTK-0004AS-00 for ports@freebsd.org; Sun, 21 May 2000 23:45:22 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id XAA08296 for ports@freebsd.org; Sun, 21 May 2000 23:45:29 +0100 (BST) (envelope-from mark) Date: Sun, 21 May 2000 23:45:29 +0100 From: Mark Ovens To: ports@freebsd.org Subject: Help needed with port Makefile Message-ID: <20000521234529.C236@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Organization: Total lack of Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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