graphics/gmic: Change github to tarballs.

This fixes the problem of dependency on the volatile distfile
and simplifies the port.
This commit is contained in:
Yuri Victorovich 2018-07-08 20:48:29 +00:00
parent ea16b41ed1
commit a6824d9743
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474199
2 changed files with 5 additions and 15 deletions

View File

@ -1,13 +1,10 @@
# $FreeBSD$
PORTNAME= gmic
DISTVERSIONPREFIX= v.
DISTVERSION= 2.3.3
CATEGORIES= graphics
MASTER_SITES= http://gmic.eu/:gmic_stdlib
DISTFILES= gmic_stdlib.h:gmic_stdlib
DIST_SUBDIR= ${PORTNAME}-${DISTVERSIONFULL}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MASTER_SITES= https://gmic.eu/files/source/
DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Framework for image processing
@ -33,8 +30,6 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
PORTSCOUT= limit:[0-9]\..* # not v.220 and similar
USES= cmake:outsource compiler:c++11-lang jpeg pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= dtschump
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_LIB_STATIC
@ -53,7 +48,4 @@ PLUGINS_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
X11_CMAKE_BOOL= ENABLE_X
X11_USE= XORG=ice,sm,x11,xext
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/gmic_stdlib.h ${WRKSRC}/src/
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1530781886
SHA256 (gmic-v.2.3.3/gmic_stdlib.h) = 0f62094ad7ada66a136fb47ed61c76e6bede172f814ac45bf81b82c7cd48fbbe
SIZE (gmic-v.2.3.3/gmic_stdlib.h) = 1850936
SHA256 (gmic-v.2.3.3/dtschump-gmic-v.2.3.3_GH0.tar.gz) = 0c3745a4c6ef9db0995f2f1f377e20601e002a4a4394c8fbfbee1451fd7fabb3
SIZE (gmic-v.2.3.3/dtschump-gmic-v.2.3.3_GH0.tar.gz) = 39070460
TIMESTAMP = 1531081493
SHA256 (gmic_2.3.3.tar.gz) = 46417d48d9dd87a155ba979667834a7d6899652f097cc25652e0680ee0b13c6a
SIZE (gmic_2.3.3.tar.gz) = 3691683