> On Aug 19, 2018, at 9:40 PM, Dan Langille <[email protected]> wrote: > >> On Aug 19, 2018, at 5:13 PM, Rozhuk Ivan <[email protected]> wrote: >> >> On Sun, 19 Aug 2018 12:38:03 -0400 >> Dan Langille <[email protected]> wrote: >> >>> There is no vendor directory in the pkg-plist for this port. >>> >>> What are other mantis users doing? >> >> IMHO makefile must be switch back to use vendor site instead github: vendor >> package contain things that not included in github. > > Thank you for this very helpful information. > > I'll work on a port upgrade for 2.16.
I've hit my first block.
Some of the configuration items for mantis are from GitHub. I do not know how
to combine both SF and GitHub into MASTER_SITES.
For now, I tried to ignore GitHub and commented out USE_GITHUB
Then I started trying this:
DISTNAME=
${PORTNAME}bt-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MASTER_SITES= SF
MASTER_SITE_SUBDIR= mantisbt/files/mantis-stable/${PORTVERSION}
But so far I've been unable to get the download URL correct for make makesum.
It keeps trying to download from
https://downloads.sourceforge.net/project/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz
But I know I can get it from
https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz/download
Or even just
https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz
I often find this part of DISTFILES confusing and difficult when it comes to
the macros.
--
Dan Langille - BSDCan / PGCon
[email protected]
signature.asc
Description: Message signed with OpenPGP
