aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-03 17:54:04 +0800
committermiwi <miwi@FreeBSD.org>2014-06-03 17:54:04 +0800
commit4f0740aa55042d7ecc70b1d151b6c21afdefbf39 (patch)
tree6cdf8ddc6ce39b7f4b09e7122d5f9d7483720927 /graphics
parent5632d512ee802c7991005d738032dde51383deb9 (diff)
downloadfreebsd-ports-gnome-4f0740aa55042d7ecc70b1d151b6c21afdefbf39.tar.gz
freebsd-ports-gnome-4f0740aa55042d7ecc70b1d151b6c21afdefbf39.tar.zst
freebsd-ports-gnome-4f0740aa55042d7ecc70b1d151b6c21afdefbf39.zip
- Update to 0.19.5
PR: 190348 Submitted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libsixel/Makefile38
-rw-r--r--graphics/libsixel/distinfo4
-rw-r--r--graphics/libsixel/pkg-plist12
3 files changed, 44 insertions, 10 deletions
diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile
index 5ed231607fc2..38bb1529ea02 100644
--- a/graphics/libsixel/Makefile
+++ b/graphics/libsixel/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
PORTNAME= libsixel
-PORTVERSION= 20140422
+PORTVERSION= 0.19.5
+PORTEPOCH= 1
CATEGORIES= graphics
MAINTAINER= sue@iwmt.org
@@ -12,15 +13,44 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= saitoha
-GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 8bd21f7
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 200e4d9
+
+USE_LDCONFIG= yes
+USES= libtool
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
+
+INSTALL_TARGET= install-strip
PORTDOCS= README.md
+OPTIONS_DEFINE= CURL GD PIXBUF
+OPTIONS_DEFAULT=
+
+CURL_DESC= libcurl support
+GD_DESC= gd support
+PIXBUF_DESC= gdk-pixbuf2 support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCURL}
+LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
+CONFIGURE_ARGS+=--with-libcurl
+.endif
+
+.if ${PORT_OPTIONS:MGD}
+LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd
+CONFIGURE_ARGS+=--with-gd
+.endif
+
+.if ${PORT_OPTIONS:MPIXBUF}
+LIB_DEPENDS+= libgdk_pixbuf-2.0.so:${PORTSDIR}/graphics/gdk-pixbuf2
+CONFIGURE_ARGS+=--with-gdk-pixbuf2
+.endif
+
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsixel.so.0
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/libsixel/distinfo b/graphics/libsixel/distinfo
index 6b6d76a47113..3cdcb6cb84ba 100644
--- a/graphics/libsixel/distinfo
+++ b/graphics/libsixel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libsixel-20140422.tar.gz) = 6910e7a8a5310ddc60909b9fce8e67a3c5017f1b37b56b00cb179c0baddc8d6c
-SIZE (libsixel-20140422.tar.gz) = 466077
+SHA256 (libsixel-0.19.5.tar.gz) = 3975e03be25b64cbf66bd61b1b4c9d976f15e5b11ec4f610c3a04aa2ef210e24
+SIZE (libsixel-0.19.5.tar.gz) = 492241
diff --git a/graphics/libsixel/pkg-plist b/graphics/libsixel/pkg-plist
index f4eccac98f60..4c413e07551d 100644
--- a/graphics/libsixel/pkg-plist
+++ b/graphics/libsixel/pkg-plist
@@ -1,7 +1,11 @@
+bin/img2sixel
+bin/sixel2png
include/sixel.h
-lib/libsixel.la
+lib/libsixel.a
lib/libsixel.so.0
+lib/libsixel.so.0.0.0
lib/libsixel.so
-lib/libsixel.a
-bin/img2sixel
-bin/sixel2png
+libdata/pkgconfig/libsixel.pc
+man/man1/img2sixel.1.gz
+man/man1/sixel2png.1.gz
+man/man5/sixel.5.gz