Help with new port with multiple downloaded files from github
Jan Beich
jbeich at vfemail.net
Mon Jun 15 21:19:16 UTC 2015
Tom Pusateri <pusateri at bangj.com> writes:
> Here’s the Makefile
>
> PORTNAME= libchromiumcontent
> PORTVERSION= 43.0.2357.65
To override these variables you have to modify master port to use ?=.
And altering PORTNAME often breaks master's DISTFILES/WRKSRC/etc.
In this case PORTVERSION should probably stay in sync with master to
avoid trying to apply new port patches against old chromium.
> DISTVERSIONPREFIX= v
> DISTVERSIONSUFFIX= -atom-2
DISTVERSION*FIX affect both master and slave distfile. If you only want
to alter the latter convert into GH_TAGNAME.
>
> MAINTAINER= pusateri at bangj.com
> COMMENT= Shared library build of Chromium's Content module
>
> USE_GITHUB= yes
Define to "nodefault" to avoid altering MASTER_SITES inherited from the
master port.
> GH_PROJECT= libchromiumcontent:libchromiumcontent
> GH_ACCOUNT= atom:libchromiumcontent
>
> .include "${MASTERDIR}/Makefile"
Would the following work for you?
--8<---------------cut here---------------start------------->8---
PKGNAMEPREFIX= libchromiumcontent-
MAINTAINER= pusateri at bangj.com
COMMENT= Shared library build of Chromium's Content module
USE_GITHUB= nodefault
GH_PROJECT= libchromiumcontent:libchromiumcontent
GH_ACCOUNT= atom:libchromiumcontent
GH_TAGNAME= v43.0.2357.65-atom-2:libchromiumcontent
MASTERDIR= ${.CURDIR}/../chromium
DESCR= ${.CURDIR}/pkg-descr
DISTINFO_FILE= ${.CURDIR}/distinfo
# Apply port patches if any from slave
.if exists(${.CURDIR}/files)
EXTRA_PATCHES+= ${.CURDIR}/files/patch-*
.endif
.include "${MASTERDIR}/Makefile"
--8<---------------cut here---------------end--------------->8---
$ make fetch-urlall-list MASTER_SITE_BACKUP=
http://commondatastorage.googleapis.com/chromium-browser-official/chromium-43.0.2357.125.tar.xz
https://codeload.github.com/atom/libchromiumcontent/tar.gz/v43.0.2357.65-atom-2?dummy=/atom-libchromiumcontent-v43.0.2357.65-atom-2_GH0.tar.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150615/e47e61ea/attachment.sig>
More information about the freebsd-ports
mailing list