aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kodi/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-03-02 22:36:30 +0800
committermat <mat@FreeBSD.org>2016-03-02 22:36:30 +0800
commitc73c622e1416861881c0eabe89b566579262beb6 (patch)
treeb68bee8949fb47c046e53c5b957992d658e2446e /multimedia/kodi/Makefile
parent1290f0efa0627f4c42260333d26d6cd4f31ae12c (diff)
downloadfreebsd-ports-gnome-c73c622e1416861881c0eabe89b566579262beb6.tar.gz
freebsd-ports-gnome-c73c622e1416861881c0eabe89b566579262beb6.tar.zst
freebsd-ports-gnome-c73c622e1416861881c0eabe89b566579262beb6.zip
Use USE_GITHUB correctly.
Sponsored by: Absolight
Diffstat (limited to 'multimedia/kodi/Makefile')
-rw-r--r--multimedia/kodi/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile
index e837ec3f814b..cec50ae89e94 100644
--- a/multimedia/kodi/Makefile
+++ b/multimedia/kodi/Makefile
@@ -4,11 +4,6 @@ PORTNAME= kodi
DISTVERSION= 15.2
PORTREVISION= 1
CATEGORIES= multimedia java
-MASTER_SITES= https://codeload.github.com/xbmc/xbmc/tar.gz/${KODI_COMMIT}?dummy=/ \
- GH:ffmpeg
-DISTFILES= ${DISTVERSION}-Isengard${EXTRACT_SUFX} \
- ${GH_PROJECT}-${GH_TAGNAME}.tar.gz:ffmpeg
-EXTRACT_ONLY= ${DISTVERSION}-Isengard${EXTRACT_SUFX}
MAINTAINER= mickael.maillot@gmail.com
COMMENT= Award winning media center application
@@ -56,10 +51,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
xdpyinfo:${PORTSDIR}/x11/xdpyinfo
USE_GITHUB= yes
-GH_ACCOUNT= xbmc
-GH_PROJECT= ffmpeg
-GH_TAGNAME= 2.6.4-Isengard
-KODI_COMMIT= f4dda26
+GH_TUPLE= xbmc:xbmc:f4dda26 xbmc:FFmpeg:2.6.4-Isengard:ffmpeg
USES= autoreconf:build compiler:c++11-lib gettext gmake iconv jpeg \
libtool pkgconfig python:2
@@ -77,8 +69,6 @@ ONLY_FOR_ARCHS= i386 amd64
KODI_ARCH_i386= x86
KODI_ARCH_amd64=x86_64
-WRKSRC= ${WRKDIR}/xbmc-${KODI_COMMIT}
-
PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}}
OPTIONS_SUB= yes
@@ -149,9 +139,7 @@ SFTP_CONFIGURE_ENABLE= ssh
CONFIGURE_ARGS+= --disable-debug --disable-alsa
post-extract:
- ${MKDIR} ${WRKSRC}/tools/depends/target/ffmpeg/${GH_PROJECT}-${GH_TAGNAME}
- ${TAR} --strip-components=1 -xf ${DISTDIR}/${GH_PROJECT}-${GH_TAGNAME}.tar.gz \
- -C ${WRKSRC}/tools/depends/target/ffmpeg/${GH_PROJECT}-${GH_TAGNAME}
+ ${MV} ${WRKSRC_ffmpeg} ${WRKSRC}/tools/depends/target/ffmpeg/
post-patch:
${REINPLACE_CMD} 's;make;gmake;' \