Tom Pusateri <pusat...@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=   pusat...@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=     pusat...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to