Stuart Henderson <stu@spacehopper.org> wrote:
> Many ports are using github's on-the-fly generated source-code tarballs
> via the GH_ variables in Makefiles.
>
> ...
>
> www/liferea
Below is the update for www/liferea to use the release source tarball.
Tim.
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/liferea/Makefile,v
retrieving revision 1.98
diff -u -p -r1.98 Makefile
--- Makefile 30 Dec 2017 09:21:49 -0000 1.98
+++ Makefile 4 Mar 2018 01:43:30 -0000
@@ -4,9 +4,9 @@ BROKEN-i386= hangs during build while r
COMMENT= simple GTK desktop news aggregator
-GH_ACCOUNT= lwindolf
-GH_PROJECT= liferea
-GH_TAGNAME= v1.12.1
+V= 1.12.1
+DISTNAME= liferea-${V}
+REVISION= 0
CATEGORIES= www news x11
@@ -32,6 +32,10 @@ WANTLIB += secret-1 soup-2.4 sqlite3 tas
WANTLIB += xcb xcb-dri2 xcb-glx xcb-render xcb-shm xcb-xfixes
WANTLIB += xml2 xslt z
+MASTER_SITES= https://github.com/lwindolf/liferea/releases/download/v${V}/
+
+EXTRACT_SUFX= .tar.bz2
+
MODULES= devel/dconf \
lang/python \
textproc/intltool
@@ -63,12 +67,6 @@ AUTOMAKE_VERSION= 1.15
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
-
-pre-configure:
- cd ${WRKSRC} && \
- AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
- NOCONFIGURE=1 ./autogen.sh
post-install:
rm ${PREFIX}/lib/liferea/web-extension/*.{a,la}
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/liferea/distinfo,v
retrieving revision 1.42
diff -u -p -r1.42 distinfo
--- distinfo 30 Dec 2017 09:21:49 -0000 1.42
+++ distinfo 4 Mar 2018 01:43:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (liferea-1.12.1.tar.gz) = zQ1/gpzjRc2WT52mnlUGFmYMGJCCu+nvnZ2ifVzE3lg=
-SIZE (liferea-1.12.1.tar.gz) = 1529678
+SHA256 (liferea-1.12.1.tar.bz2) = uO1bx+7bOFhyWoTKxb88WsE7DFNtI1UJa94y2UUfHZM=
+SIZE (liferea-1.12.1.tar.bz2) = 1490079
No comments:
Post a Comment