1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update from 0.19.5 to 0.25.2

- Use options helpers

PR:		ports/192087
Submitted by:	IWAMOTO Kouichi <sue@iwmt.org>
This commit is contained in:
Danilo Egea Gondolfo 2014-07-25 23:20:23 +00:00
parent 4c9bc2cfd5
commit abf46cb65c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362943
3 changed files with 17 additions and 23 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= libsixel
PORTVERSION= 0.19.5
PORTVERSION= 0.25.2
PORTEPOCH= 1
CATEGORIES= graphics
@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= saitoha
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 200e4d9
GH_COMMIT= 1b62176
USE_LDCONFIG= yes
USES= libtool
@ -22,33 +22,21 @@ USES= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
INSTALL_TARGET= install-strip
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
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
CURL_CONFIGURE_WITH= libcurl
.include <bsd.port.options.mk>
GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
GD_CONFIGURE_WITH= gd
.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
PIXBUF_LIB_DEPENDS= libgdk_pixbuf-2.0.so:${PORTSDIR}/graphics/gdk-pixbuf2
PIXBUF_CONFIGURE_WITH= gdk-pixbuf2
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,2 +1,2 @@
SHA256 (libsixel-0.19.5.tar.gz) = 3975e03be25b64cbf66bd61b1b4c9d976f15e5b11ec4f610c3a04aa2ef210e24
SIZE (libsixel-0.19.5.tar.gz) = 492241
SHA256 (libsixel-0.25.2.tar.gz) = 26c737fdb6b8c8ab2e5ca1d0eba8a88b643397a32adf3b8a8a1220f63b0a7785
SIZE (libsixel-0.25.2.tar.gz) = 2198087

View File

@ -9,3 +9,9 @@ libdata/pkgconfig/libsixel.pc
man/man1/img2sixel.1.gz
man/man1/sixel2png.1.gz
man/man5/sixel.5.gz
share/bash-completion/completions/img2sixel
share/zsh/site-functions/_img2sixel
@dirrmtry share/bash-completion/completions
@dirrmtry share/bash-completion
@dirrmtry share/zsh/site-functions
@dirrmtry share/zsh