Date: Mon, 5 Jul 1999 13:25:33 -0400 (EDT) From: <hutch@psfc.mit.edu> To: Steve Price <sprice@hiwaay.net> Cc: ports@FreeBSD.ORG Subject: Re: TtH Description Correction Request Message-ID: <Pine.LNX.4.10.9907051320350.11595-100000@silas.psfc.mit.edu> In-Reply-To: <Pine.OSF.4.10.9907051036520.19262-100000@fly.HiWAAY.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Steve, It was not my intention to be awkward and force you to do a lot of work. What is more, I am not asking you to gut the port in the way your disclaimer below implies. On balance, I would prefer you to make the default install the "with_bells", even if that requires your port to specify lots of dependencies that aren't essential. Ian Hutchinson, Plasma Science and Fusion Center, MIT. http://psfc.mit.edu/~hutch/home.html On Mon, 5 Jul 1999, Steve Price wrote: > Since we aim to please here's a patch that should make you happy. > It will install only the tth binary, the README, and the license > file by default. Note there will be no dependencies. If the user > wants a full version of the port (ie. with all the bells and > whistles that you provide in the distribution) he/she will have > to define WANT_TTH_WITH_BELLS in their environment before doing a > build/install. > > If I don't hear any complaints and you give me the nod I will commit > this before the long weekend is over. > > Your humble servant, Steve > > diff -urN tth.old/Makefile tth/Makefile > --- tth.old/Makefile Tue May 11 03:00:58 1999 > +++ tth/Makefile Mon Jul 5 10:33:03 1999 > @@ -15,20 +15,39 @@ > > MAINTAINER= ports@FreeBSD.ORG > > +.if defined(WANT_TTH_WITH_BELLS) > RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \ > ppmtogif:${PORTSDIR}/graphics/netpbm \ > latex:${PORTSDIR}/print/teTeX > +PLIST= ${PKGDIR}/PLIST.big > +.endif > > MAN1= tth.1 > > do-build: > +.if !defined(WANT_TTH_WITH_BELLS) > + @${ECHO} > + @${ECHO} "-------------------------------------------------------------" > + @${ECHO} " At the author's request parts of this port that could be" > + @${ECHO} " installed will not be. The author says that this software" > + @${ECHO} " is useful in a standalone mode and doesn't require all the" > + @${ECHO} " extra cruft that most (all) other converters of its type" > + @${ECHO} " do. However, should you want to use the other scripts" > + @${ECHO} " that are in the distribution please do the following now:" > + @${ECHO} > + @${ECHO} " make clean; WANT_TTH_WITH_BELLS=yes make install" > + @${ECHO} "-------------------------------------------------------------" > + @${ECHO} > +.endif > cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/tth ${PREFIX}/bin > +.if defined(WANT_TTH_WITH_BELLS) > ${INSTALL_SCRIPT} ${WRKSRC}/l2h ${PREFIX}/bin > ${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin > ${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin > +.endif > ${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1 > ${MKDIR} ${PREFIX}/share/doc/tth > ${INSTALL_SCRIPT} ${WRKSRC}/license.txt ${PREFIX}/share/doc/tth > diff -urN tth.old/pkg/PLIST tth/pkg/PLIST > --- tth.old/pkg/PLIST Wed Aug 19 15:48:44 1998 > +++ tth/pkg/PLIST Mon Jul 5 10:15:27 1999 > @@ -1,6 +1,3 @@ > -bin/l2h > -bin/latex2gif > -bin/ps2gif > bin/tth > share/doc/tth/license.txt > share/doc/tth/tth_manual.html > diff -urN tth.old/pkg/PLIST.big tth/pkg/PLIST.big > --- tth.old/pkg/PLIST.big Wed Dec 31 18:00:00 1969 > +++ tth/pkg/PLIST.big Mon Jul 5 10:15:19 1999 > @@ -0,0 +1,7 @@ > +bin/l2h > +bin/latex2gif > +bin/ps2gif > +bin/tth > +share/doc/tth/license.txt > +share/doc/tth/tth_manual.html > +@dirrm share/doc/tth > 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?Pine.LNX.4.10.9907051320350.11595-100000>