freebsd-ports/net-im/sayaka/Makefile
Baptiste Daroussin 54f745573d Update vala to 0.48.10
note that 0.50.x results for now in too many breakage to do the upgrade
yet.

As a result disable vala support in anjuta
Unbreak net-im/dino, which has been marked as broken during the glib upgrade
2020-09-25 14:43:59 +00:00

55 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= sayaka
PORTVERSION= 3.2.2
CATEGORIES= net-im
MAINTAINER= sue@iwmt.org
COMMENT= Command-line twitter client for SIXEL-supported terminal
LICENSE= BSD2CLAUSE
BROKEN= Does not build with recent vala
BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libcurl.so:ftp/curl
USES= gettext-runtime gnome pkgconfig
USE_GNOME= glib20 gdkpixbuf2
USE_GITHUB= yes
GH_ACCOUNT= isaki68k
PORTDOCS= README.md
WRKSRC_SUBDIR= vala
OPTIONS_DEFINE= COLORMAP DOCS
OPTIONS_DEFAULT=COLORMAP
OPTIONS_SUB= yes
COLORMAP_DESC= Install colormap data for external sixel command
COLORMAP_RUN_DEPENDS= img2sixel:graphics/libsixel
COLORMAP_FILES= colormap16.png colormap8.png
post-patch:
@${REINPLACE_CMD} -e '/^[a-z]/s/:$$/: vala-make2/' \
${WRKSRC}/Makefile
post-patch-COLORMAP-on:
@${REINPLACE_CMD} -e '/colormapdir =/s|basedir|"${DATADIR}"|' \
${WRKSRC}/sayaka.vala
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sayaka ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../README.md ${STAGEDIR}${DOCSDIR}
do-install-COLORMAP-on:
${MKDIR} ${STAGEDIR}${DATADIR}
.for f in ${COLORMAP_FILES}
${INSTALL_DATA} ${WRKSRC}/../$f ${STAGEDIR}${DATADIR}
.endfor
.include <bsd.port.mk>