On Thu, Aug 7, 2014 at 11:06 AM, Dan Langille <d...@langille.org> wrote: > > On Aug 7, 2014, at 1:08 AM, olli hauer <oha...@gmx.de> wrote: > >> On 2014-08-07 05:18, Dan Langille wrote: >>> I'm having a problem upgrading www/bacula-web to the latest version (see >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191583). >>> >>> The problem: the vendor tarball has no top level directory. >>> >>> e.g. >>> >>> [root@testing ~/tmp/distfiles]# tar -xf >>> /var/ports/distfiles/bacula-web-6.0.1.tgz >>> [root@testing ~/tmp/distfiles]# ls >>> DOCS application core >>> joblogs.php pools.php >>> README backupjob-report.php client-report.php >>> index.php jobs.php test.php >>> [root@testing ~/tmp/distfiles]# >>> >>> Compare that to bacula, where I get: >>> >>> [root@testing ~/tmp/distfiles]# tar -xf >>> /var/ports/distfiles/bacula-7.0.4.tar.gz >>> [root@testing ~/tmp/distfiles]# ls >>> bacula-7.0.4 >>> >>> Is there an optimal way to cater for this without pushing the issue >>> upstream? >>> >>> -- >> >> Hi Dan, >> >> you can specify NO_WRKSUBDIR=yes or overwrite the do-extract target. > > do-extract is what I will use, thank you. >
Instead of overriding the do-extract target, you could use: EXTRACT_AFTER_ARGS= -C ${WRKSRC} I had done this for the net/wizd port. Note: if tar doesn't create the ${WRKSRC} directory, you may need to specify a pre-extract target that will create the directory for you. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"