2014-05-22 10:03:57 +02:00
|
|
|
PORTNAME= libsixel
|
2021-03-21 10:14:01 +01:00
|
|
|
PORTVERSION= 1.8.6
|
2014-06-03 11:54:04 +02:00
|
|
|
PORTEPOCH= 1
|
2014-05-22 10:03:57 +02:00
|
|
|
CATEGORIES= graphics
|
2021-03-21 14:43:56 +01:00
|
|
|
MASTER_SITES= https://github.com/saitoha/libsixel/releases/download/v${PORTVERSION}/
|
2014-05-22 10:03:57 +02:00
|
|
|
|
|
|
|
MAINTAINER= sue@iwmt.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Encoder/decoder library for DEC SIXEL graphics
|
2014-05-22 10:03:57 +02:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2021-10-20 18:13:10 +02:00
|
|
|
USES= cpe libtool pkgconfig
|
|
|
|
CPE_VENDOR= ${PORTNAME}_project
|
2018-06-11 08:32:32 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-22 10:03:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-06-03 11:54:04 +02:00
|
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
|
2014-07-26 01:20:23 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2014-05-22 10:03:57 +02:00
|
|
|
|
2021-03-21 14:43:56 +01:00
|
|
|
WRKSRC= ${WRKDIR}/sixel-${PORTVERSION}
|
|
|
|
|
|
|
|
PORTDOCS= ChangeLog NEWS
|
2014-05-22 10:03:57 +02:00
|
|
|
|
2018-06-11 08:32:32 +02:00
|
|
|
OPTIONS_DEFINE= CURL DOCS GD JPEG PIXBUF PNG PYTHON
|
2016-04-28 02:56:34 +02:00
|
|
|
OPTIONS_SUB= yes
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
2014-07-26 01:20:23 +02:00
|
|
|
CURL_CONFIGURE_WITH= libcurl
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
GD_LIB_DEPENDS= libgd.so:graphics/gd
|
2014-07-26 01:20:23 +02:00
|
|
|
GD_CONFIGURE_WITH= gd
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
JPEG_USES= jpeg
|
2014-11-10 18:12:03 +01:00
|
|
|
JPEG_CONFIGURE_WITH= jpeg
|
2014-12-27 16:10:50 +01:00
|
|
|
JPEG_CPPFLAGS= -I${LOCALBASE}/include
|
2014-11-10 18:12:03 +01:00
|
|
|
JPEG_LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
2014-07-26 01:20:23 +02:00
|
|
|
PIXBUF_CONFIGURE_WITH= gdk-pixbuf2
|
2019-11-14 13:39:42 +01:00
|
|
|
PIXBUF_USES= gettext gnome
|
2016-11-01 21:01:04 +01:00
|
|
|
PIXBUF_USE= gnome=glib20,gdkpixbuf2
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
PNG_LIB_DEPENDS= libpng.so:graphics/png
|
2014-11-10 18:12:03 +01:00
|
|
|
PNG_CONFIGURE_WITH= png
|
|
|
|
|
2016-04-28 02:56:34 +02:00
|
|
|
PYTHON_USES= python
|
|
|
|
PYTHON_USE= python=py3kplist
|
|
|
|
PYTHON_CONFIGURE_ENABLE= python
|
|
|
|
|
2018-06-11 08:32:32 +02:00
|
|
|
post-install-DOCS-on:
|
2021-03-21 14:43:56 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2014-05-22 10:03:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|