Date: Tue, 7 Aug 2012 11:36:41 +0800 From: HU Dong <itechbear@gmail.com> To: freebsd-ports@freebsd.org Subject: How to change docdir in port Makefile? Message-ID: <CAA96eVuC6kSknTFueaAMuOaDvmiuB_%2Bb-XYoh711aKmTXtDA2w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, all. I'm making a new port. It uses GNU configure to generate a GNU Makefile. But it set DOCSDIR to ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} instead of ${PREFIX}/share/doc/${PORTNAME}: *** docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) *** I've tried post-patch, but it didn't help, cause post-patch phase is earlier than the time when GNU Makefile is generated. So how to modify the GNU Makefile to correct this problem? B.R. HU Dong
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA96eVuC6kSknTFueaAMuOaDvmiuB_%2Bb-XYoh711aKmTXtDA2w>