Date: Thu, 12 Jun 2003 14:54:29 -0400 From: Paul Chvostek <paul+fbsd@it.ca> To: freebsd-ports@freebsd.org Subject: changes to the original source... Message-ID: <20030612185429.GA17904@mail.it.ca>
next in thread | raw e-mail | index | archive | help
If an application's original Makefile doesn't include an "install:" target, is it preferable to patch the Makefile to include one, or handle the install with a "do-install:" target in the port's Makefile? Also, if the application's man page fails to include gobs of useful information and examples that are available via www, what's the best way to grab content for inclusion in $PREFIX/share/doc/$PKGNAME ? Should I just punt with fetch, or is there another preferred way to grab additional files to add to $DOCSDIR? Perhaps something like: do-install: ${FETCH_CMD} -o ${DOCSDIR} http://foo/bar.html or perhaps it would be better to: post-build: ${FETCH_CMD} -o ${WRKSRC} http://foo/bar.html do-install: ${INSTALL_DATA} ${WRKSRC}/bar.html ${DOCSDIR} What's the preferred method? -- Paul Chvostek <paul@it.ca> Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612185429.GA17904>