Date: Thu, 21 Dec 2000 23:59:40 -0600 From: Jeremy Shaffner <jeremy@external.org> To: gnats-admin@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/23715: New Port: textproc/gutenbook Message-ID: <20001221235940.A89514@external.org> In-Reply-To: <200012211740.eBLHe1Z84014@freefall.freebsd.org>; from gnats-admin@FreeBSD.org on Thu, Dec 21, 2000 at 09:40:01AM -0800 References: <200012211735.eBLHZDH86862@indigo.external.org> <200012211740.eBLHe1Z84014@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> >Category: ports > >Responsible: freebsd-ports > >Synopsis: New Port: textproc/gutenbook > >Arrival-Date: Thu Dec 21 09:40:01 PST 2000 It just occured to me that I used $LOCALBASE instead of $PREFIX in this Makefile. Please use the following patch to Makefile: --- Makefile Thu Dec 21 11:20:59 2000 +++ Makefile.new Thu Dec 21 23:59:08 2000 @@ -27,20 +27,20 @@ MODULES= Etext.pm File.pm Index.pm Network.pm PropList.pm post-patch: - ${SED} "s#%%LOCALBASE%%#${LOCALBASE}#g" ${WRKSRC}/PGB.pm > ${WRKSRC}/tmp - ${MV} ${WRKSRC}/tmp ${WRKSRC}/PGB.pm + @${SED} "s#%%LOCALBASE%%#${LOCALBASE}#g" ${WRKSRC}/PGB.pm > ${WRKSRC}/tmp + @${MV} ${WRKSRC}/tmp ${WRKSRC}/PGB.pm do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/gutenbook ${LOCALBASE}/bin/gutenbook - @${INSTALL_SCRIPT} ${WRKSRC}/PGB.pm ${site_perl}/PGB.pm + ${INSTALL_SCRIPT} ${WRKSRC}/gutenbook ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/PGB.pm ${site_perl}/PGB.pm @${MKDIR} ${site_perl}/PGB .for module in ${MODULES} - @${INSTALL_SCRIPT} ${WRKSRC}/PGB/${module} ${site_perl}/PGB + ${INSTALL_SCRIPT} ${WRKSRC}/PGB/${module} ${site_perl}/PGB .endfor .if !defined(NOPORTDCS) @${MKDIR} ${LOCALBASE}/share/doc/gutenbook - @${INSTALL_DATA} ${WRKSRC}/MANUAL ${LOCALBASE}/share/doc/gutenbook - @${INSTALL_DATA} ${WRKSRC}/gutenbook.spec ${LOCALBASE}/share/doc/gutenbook + ${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/gutenbook + ${INSTALL_DATA} ${WRKSRC}/gutenbook.spec ${PREFIX}/share/doc/gutenbook .endif post-install: I had LOCALBASE on the mind at the time. Thanks. -- --------------------------------------------------------------------- Jeremy Shaffner | This space for rent. jeremy@external.org | $ grep happiness life http://www.external.org/~jeremy/pgp.key | FreeBSD: The Power to Serve 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?20001221235940.A89514>