aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-21 13:43:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-21 13:43:56 +0000
commit0347d04649156f4b0c09e0c8c4eb0438a19c9839 (patch)
tree4b0319f691e4138c0b19fa2e5599e7388f07b9af /graphics
parent55dce8f0befda08177192e214384d9fdcd68ca6a (diff)
downloadports-0347d04649156f4b0c09e0c8c4eb0438a19c9839.tar.gz
ports-0347d04649156f4b0c09e0c8c4eb0438a19c9839.zip
Restore original (upstream) distfile URL. During initial `make makesum'
the distfile got fetched from the nearby Gentoo mirror but I didn't pay enough attention and didn't notice that: $ curl -sI https://mirror.yandex.ru/gentoo-distfiles/distfiles/libsixel-1.8.6.tar.gz | egrep HTTP\|Content-Length: HTTP/1.1 200 OK Content-Length: 4791628 Because both its size (previous distfile was 4778776 bytes) and contents looked legit, I did not verify that it is identical to the file fetched from GitHub directly. Comparing their contents show only some missing files and directories (example programs and sample image files, none of them are built or installed anyway); the source code itself is identical between the two, as well as resulting `include/sixel.h' file which now comes pre-generated: $ diff -rudp libsixel-1.8.6 sixel-1.8.6 Only in libsixel-1.8.6: .coveralls.yml Only in libsixel-1.8.6: .gitignore Only in libsixel-1.8.6: .travis.yml Only in libsixel-1.8.6: LICENSE Only in libsixel-1.8.6: LICENSE.images Only in libsixel-1.8.6: LICENSE.mesa Only in libsixel-1.8.6: LICENSE.pngsuite Only in libsixel-1.8.6: LICENSE.pnmcolormap Only in libsixel-1.8.6: LICENSE.sdump Only in libsixel-1.8.6: LICENSE.sixel Only in libsixel-1.8.6: LICENSE.stb Only in libsixel-1.8.6: README.md Only in libsixel-1.8.6: examples Only in libsixel-1.8.6: images Only in sixel-1.8.6/include: sixel.h Only in sixel-1.8.6/m4: ._ltoptions.m4 Only in sixel-1.8.6/m4: ._ltsugar.m4 Only in sixel-1.8.6/m4: ._lt~obsolete.m4 Only in libsixel-1.8.6: package.json Only in libsixel-1.8.6: perl Only in libsixel-1.8.6: php Only in libsixel-1.8.6/python: LICENSE Only in libsixel-1.8.6/python: README.rst Only in libsixel-1.8.6: ruby Only in libsixel-1.8.6: wic Drop the LICENSE and README.md (which is basically the project's GitHub front page) and install more commonly seen in packages ChangeLog and NEWS files instead; while here, trim some excessive vertical whitespace.
Notes
Notes: svn path=/head/; revision=568918
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libsixel/Makefile13
-rw-r--r--graphics/libsixel/distinfo6
2 files changed, 9 insertions, 10 deletions
diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile
index b6f0d7988656..8fb8d1fd7c6f 100644
--- a/graphics/libsixel/Makefile
+++ b/graphics/libsixel/Makefile
@@ -4,23 +4,22 @@ PORTNAME= libsixel
PORTVERSION= 1.8.6
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= http://vault.101011010.xyz/distfiles/
+MASTER_SITES= https://github.com/saitoha/libsixel/releases/download/v${PORTVERSION}/
MAINTAINER= sue@iwmt.org
COMMENT= Encoder/decoder library for DEC SIXEL graphics
LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
USES= libtool pkgconfig
USE_LDCONFIG= yes
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
-
INSTALL_TARGET= install-strip
-PORTDOCS= README.md
+WRKSRC= ${WRKDIR}/sixel-${PORTVERSION}
+
+PORTDOCS= ChangeLog NEWS
OPTIONS_DEFINE= CURL DOCS GD JPEG PIXBUF PNG PYTHON
OPTIONS_SUB= yes
@@ -48,7 +47,7 @@ PYTHON_USE= python=py3kplist
PYTHON_CONFIGURE_ENABLE= python
post-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/graphics/libsixel/distinfo b/graphics/libsixel/distinfo
index 0f25b4bca166..5190cbd1a92a 100644
--- a/graphics/libsixel/distinfo
+++ b/graphics/libsixel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1583031210
-SHA256 (libsixel-1.8.6.tar.gz) = 37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9
-SIZE (libsixel-1.8.6.tar.gz) = 4791628
+TIMESTAMP = 1578938246
+SHA256 (libsixel-1.8.6.tar.gz) = 9f6dcaf40d250614ce0121b153949c327c46a958cfd2e47750d8788b7ed28e6a
+SIZE (libsixel-1.8.6.tar.gz) = 652377