svn commit: r568918 - head/graphics/libsixel
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Mar 21 13:43:56 UTC 2021
Author: danfe
Date: Sun Mar 21 13:43:56 2021
New Revision: 568918
URL: https://svnweb.freebsd.org/changeset/ports/568918
Log:
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.
Modified:
head/graphics/libsixel/Makefile
head/graphics/libsixel/distinfo
Modified: head/graphics/libsixel/Makefile
==============================================================================
--- head/graphics/libsixel/Makefile Sun Mar 21 13:27:35 2021 (r568917)
+++ head/graphics/libsixel/Makefile Sun Mar 21 13:43:56 2021 (r568918)
@@ -4,24 +4,23 @@ 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 at 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>
Modified: head/graphics/libsixel/distinfo
==============================================================================
--- head/graphics/libsixel/distinfo Sun Mar 21 13:27:35 2021 (r568917)
+++ head/graphics/libsixel/distinfo Sun Mar 21 13:43:56 2021 (r568918)
@@ -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
More information about the svn-ports-all
mailing list