2014-05-22 10:03:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libsixel
|
2015-08-10 23:11:00 +02:00
|
|
|
PORTVERSION= 1.4.13
|
2015-03-28 15:15:46 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2014-06-03 11:54:04 +02:00
|
|
|
PORTEPOCH= 1
|
2014-05-22 10:03:57 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
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
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= saitoha
|
2014-06-03 11:54:04 +02:00
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
2014-11-10 18:12:03 +01:00
|
|
|
USES= libtool pkgconfig
|
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
|
|
|
|
|
|
|
PORTDOCS= README.md
|
|
|
|
|
2014-11-10 18:12:03 +01:00
|
|
|
OPTIONS_DEFINE= CURL GD JPEG PIXBUF PNG
|
2014-06-03 11:54:04 +02:00
|
|
|
OPTIONS_DEFAULT=
|
|
|
|
|
2014-07-26 01:20:23 +02:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
CURL_CONFIGURE_WITH= libcurl
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2014-07-26 01:20:23 +02:00
|
|
|
GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
|
|
|
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_LIB_DEPENDS= libgdk_pixbuf-2.0.so:${PORTSDIR}/graphics/gdk-pixbuf2
|
|
|
|
PIXBUF_CONFIGURE_WITH= gdk-pixbuf2
|
2014-06-03 11:54:04 +02:00
|
|
|
|
2014-11-10 18:12:03 +01:00
|
|
|
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
PNG_CONFIGURE_WITH= png
|
|
|
|
|
2014-05-22 10:03:57 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|