On 2015/11/20 15:48, Mikolaj Kucharski wrote: > Hi, > > I like simple port shared by Peter few weeks ago. Here is > slightly tweaked version with manpage from David Dahlberg. > > I found this port useful. Comments? > > I didn't address issue with changing rfc-index.txt and bcp-index.txt > files. Should they be packaged by hand and hosted in separate tarball > for example? > > -- > best regards > q#
Some tips on this ... - Skip the copying, untar them straight to INSTALL_LOC. This is already going to be pretty bad enough to decompress the files on slow arch, don't make them copy them from disk to disk as well. - SUBST_CMD can be used to copy-and-edit ${FILESDIR}/rfc.sh in one operation (and same for the manpage which has a hardcoded /usr/local). - The index problem does need to be handled. - To avoid huge file downloads when doing pkg_add updates I'd be tempted to split it up a bit with a 'meta' port (empty, just with RUN_DEPENDS) to add them. ... though I'm not too sure it's worth the space on the mirrors for 30-odd copies of this (11 arch x snaps + 2 releases) when the files are rsync'able anyway.
ietf-cli.tgz
Description: application/tar-gz