summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordanfe <danfe@35697150-7ecd-e111-bb59-0022644237b5>2021-03-21 13:43:56 +0000
committerdanfe <danfe@35697150-7ecd-e111-bb59-0022644237b5>2021-03-21 13:43:56 +0000
commit9d5696ae072eed1b7f8e5335a3a81cce34f25f6f (patch)
tree4b0319f691e4138c0b19fa2e5599e7388f07b9af /graphics
parent97206c2aa1933717c24358923cf33b5e743d8872 (diff)
downloadfreebsd-ports-9d5696ae072eed1b7f8e5335a3a81cce34f25f6f.tar.gz
freebsd-ports-9d5696ae072eed1b7f8e5335a3a81cce34f25f6f.tar.bz2
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. git-svn-id: http://svn.freebsd.org/ports/head@568918 35697150-7ecd-e111-bb59-0022644237b5
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