tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: heads up: please use USE_GITHUB=yes when packaging software hosted on GH
On Sat, Mar 07, 2015 at 04:44:26PM +0100, Tobias Nygren wrote:
> I added a helper mk fragment to contain the github distinfo mess,
> inspired by FreeBSD. Please refer to these instructions:
>
> https://www.netbsd.org/docs/pkgsrc/fixes.html#build.fetch.github
>
> When converting packages to USE_GITHUB, please remember to
> remove MASTER_SITES, PKGNAME, DIST_SUBDIR and WRKSRC overrides
> as those are no longer required in the typical case.
I think I don't understand what DISTNAME means in this case, so e.g.,
the attached doesn't work...
Any hints?
Cheers,
Patrick
# $NetBSD$
# http://github.com/prlw1/e2guardian/archive/b0c08a6946dd1be087764605cf66c985d969b589.tar.gz
PKGNAME= e2guardian-devel-3.1.1.42
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=prlw1/}
GITHUB_PROJECT= e2guardian
GITHUB_TAG= b0c08a6946dd1be087764605cf66c985d969b589
MAINTAINER= prlw1%cam.ac.uk@localhost
HOMEPAGE= http://www.e2guardian.org/
COMMENT= Web content filtering proxy
LICENSE= gnu-gpl-v2
USE_TOOLS= autoconf automake pkg-config
USE_LANGUAGES= c++
GNU_CONFIGURE= yes
CHECK_WRKREF_SKIP= sbin/e2guardian
pre-configure:
cd ${WRKSRC} && ${SH} autogen.sh
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index