aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-07-26 21:16:39 +0800
committermat <mat@FreeBSD.org>2017-07-26 21:16:39 +0800
commitbf94d56f7f29d1d5e4796a3396ec144cb1ba5c0d (patch)
treecc5789efffd04e4f84d9b97e7054976b1f7fef46 /graphics
parent8edbbdff8753ba8f6d7d498aa505658f286a2d35 (diff)
downloadfreebsd-ports-gnome-bf94d56f7f29d1d5e4796a3396ec144cb1ba5c0d.tar.gz
freebsd-ports-gnome-bf94d56f7f29d1d5e4796a3396ec144cb1ba5c0d.tar.zst
freebsd-ports-gnome-bf94d56f7f29d1d5e4796a3396ec144cb1ba5c0d.zip
Convert (again) every usage of https://github.com/.../archive/xxx to USE_GITHUB.
Pointy hat: acm Sponsored by: Absolight
Diffstat (limited to 'graphics')
-rw-r--r--graphics/derelict-gl3/Makefile9
-rw-r--r--graphics/derelict-gl3/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/graphics/derelict-gl3/Makefile b/graphics/derelict-gl3/Makefile
index a5cec60856a7..d82ac3f5384f 100644
--- a/graphics/derelict-gl3/Makefile
+++ b/graphics/derelict-gl3/Makefile
@@ -3,10 +3,8 @@
PORTNAME= derelict-gl3
PORTVERSION= 1.0.23
+DISTVERSIONPREFIX= v
CATEGORIES= graphics
-MASTER_SITES= https://github.com/DerelictOrg/DerelictGL3/archive/
-DISTNAME= ${PORTVERSION:S/^/v/}
-DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Dynamic binding to OpenGL for the D Programming Language
@@ -17,7 +15,10 @@ BUILD_DEPENDS= ldmd2:lang/ldc \
dub:devel/dub \
${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util
-WRKSRC= ${WRKDIR}/DerelictGL3-${PORTVERSION}
+USE_GITHUB= yes
+GH_ACCOUNT= DerelictOrg
+GH_PROJECT= DerelictGL3
+
DUB_CMD= ${LOCALBASE}/bin/dub build --build=release
D_INCLUDE_DIR= ${PREFIX}/include/d
D_LIB_DIR= ${PREFIX}/lib/d
diff --git a/graphics/derelict-gl3/distinfo b/graphics/derelict-gl3/distinfo
index 707f79aec2cc..17fe10e1c149 100644
--- a/graphics/derelict-gl3/distinfo
+++ b/graphics/derelict-gl3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500697595
-SHA256 (derelict-gl3/v1.0.23.tar.gz) = 7432d2b3d947a83d2d44a403611c4dde25a4a61247184a612fe81e5054e47d3e
-SIZE (derelict-gl3/v1.0.23.tar.gz) = 87322
+TIMESTAMP = 1501067416
+SHA256 (DerelictOrg-DerelictGL3-v1.0.23_GH0.tar.gz) = 7432d2b3d947a83d2d44a403611c4dde25a4a61247184a612fe81e5054e47d3e
+SIZE (DerelictOrg-DerelictGL3-v1.0.23_GH0.tar.gz) = 87322