Date: Wed, 9 Oct 2013 21:20:52 +0100 (BST) From: Anton Shterenlikht <mexas@bris.ac.uk> To: pschmehl_lists@tx.rr.com Cc: freebsd-ports@freebsd.org Subject: Re: STAGE: explain man pages Message-ID: <201310092020.r99KKqnZ015082@mech-cluster241.men.bris.ac.uk> In-Reply-To: <8C3BA28AE0814C587BE99BBB@Pauls-MacBook-Pro.local>
next in thread | previous in thread | raw e-mail | index | archive | help
>From pschmehl_lists@tx.rr.com Wed Oct 9 21:14:48 2013 >--On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <mexas@bris.ac.uk> >wrote: > >> I'm getting: >> >># make stage >> ===> Staging for urlview-0.9_7 >> ===> Generating temporary packing list >> /bin/sh ./mkinstalldirs >> /usr/ports/textproc/urlview/work/stage/usr/local/bin install -s -o >> root -g wheel -m 555 urlview >> /usr/ports/textproc/urlview/work/stage/usr/local/bin/urlview install -o >> root -g wheel -m 444 urlview.man /usr/local/man/man1/urlview.1 install >> -o root -g wheel -m 444 >> /usr/ports/textproc/urlview/work/urlview-0.9/sample.urlview >> /usr/ports/textproc/urlview/work/stage/usr/local/etc/urlview.conf.sample >> ====> Compressing man pages >># >> >> Note that the man page is not installed on stage. >> >> The Makefile has: >> >> PLIST_FILES= bin/urlview \ >> etc/urlview.conf.sample \ >> urlview.1 >> >> The last file is the man page. >> >> What am I doing wrong? >> > >You don't need to install or uninstall man pages. They're done >automatically. > >In the Makefile, use MANx= name of man pages >e.g MAN1= urlview.1 > >Remove the manpage from the pkg-plist file. No, doesn't work: # make stage ===> Staging for urlview-0.9_7 ===> Generating temporary packing list /bin/sh ./mkinstalldirs /usr/ports/textproc/urlview/work/stage/usr/local/bin install -s -o root -g wheel -m 555 urlview /usr/ports/textproc/urlview/work/stage/usr/local/bin/urlview install -o root -g wheel -m 444 urlview.man /usr/local/man/man1/urlview.1 install -o root -g wheel -m 444 /usr/ports/textproc/urlview/work/urlview-0.9/sample.urlview /usr/ports/textproc/urlview/work/stage/usr/local/etc/urlview.conf.sample ====> Compressing man pages # To be clear, here's the complete Makefile (very simple): # cat Makefile # Created by: Josh Gilliam <josh@quick.net> # $FreeBSD: head/textproc/urlview/Makefile 327773 2013-09-20 23:17:30Z bapt $ PORTNAME= urlview PORTVERSION= 0.9 PORTREVISION= 7 CATEGORIES= textproc www MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/contrib/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \ ftp://ftp.gbnet.net/pub/mutt-international/contrib/ \ ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/contrib/ \ http://seis.bris.ac.uk/~mexas/ MAINTAINER= mexas@bris.ac.uk COMMENT= URL extractor/launcher GNU_CONFIGURE= yes PLIST_FILES= bin/urlview \ etc/urlview.conf.sample MAN1= urlview.1 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpcreposix -lpcre post-patch: @${REINPLACE_CMD} -e 's,/etc,${STAGEDIR}${PREFIX}&,' \ -e 's/url_handler.sh/firefox/' \ ${WRKSRC}/* post-install: ${INSTALL_DATA} ${WRKSRC}/sample.urlview \ ${STAGEDIR}${PREFIX}/etc/urlview.conf.sample .include <bsd.port.mk> # Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310092020.r99KKqnZ015082>