Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2016 20:01:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425079 - in head/net-im/sayaka: . files
Message-ID:  <201611012001.uA1K1FB4012228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Nov  1 20:01:15 2016
New Revision: 425079
URL: https://svnweb.freebsd.org/changeset/ports/425079

Log:
  net-im/sayaka: update to 3.2.2
  
  Changes:	https://github.com/isaki68k/sayaka/compare/3.1.0...3.2.2
  PR:		213967
  Submitted by:	IWAMOTO Kouichi <sue@iwmt.org> (maintainer)

Added:
  head/net-im/sayaka/pkg-plist   (contents, props changed)
Deleted:
  head/net-im/sayaka/files/
Modified:
  head/net-im/sayaka/Makefile   (contents, props changed)
  head/net-im/sayaka/distinfo   (contents, props changed)

Modified: head/net-im/sayaka/Makefile
==============================================================================
--- head/net-im/sayaka/Makefile	Tue Nov  1 20:01:04 2016	(r425078)
+++ head/net-im/sayaka/Makefile	Tue Nov  1 20:01:15 2016	(r425079)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	sayaka
-PORTVERSION=	3.1.0
+PORTVERSION=	3.2.2
 CATEGORIES=	net-im
 
 MAINTAINER=	sue@iwmt.org
@@ -9,44 +9,44 @@ COMMENT=	Command-line twitter client for
 
 LICENSE=	BSD2CLAUSE
 
-RUN_DEPENDS=	curl:ftp/curl \
-		img2sixel:graphics/libsixel
+BUILD_DEPENDS=	valac:lang/vala
+LIB_DEPENDS=	libcurl.so:ftp/curl
+
+USES=		gettext-runtime pkgconfig
+USE_GNOME=	glib20 gdkpixbuf2
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	isaki68k
 
-PLIST_FILES=	bin/sayaka bin/cellsize
-
-USE_PHP=	curl filter hash json mbstring pcntl pdo pdo_sqlite sqlite3
-WANT_PHP_CLI=	yes
-
 PORTDOCS=	README.md
-PORTDATA=	OAuth.php \
-		TwistOAuth.php \
-		colormap16.png \
-		colormap8.png \
-		config.php \
-		sayaka.php \
-		subr.php \
-		twitteroauth.php
 
-ALL_TARGET=	cellsize
+WRKSRC_SUBDIR=	vala
+
+OPTIONS_DEFINE=	COLORMAP
+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 \
-		's|@@DATADIR@@|${DATADIR}|g ; \
-		 s|@@BINDIR@@|${PREFIX}/bin|g' \
-		${WRKSRC}/sayaka.sh
-	@${REINPLACE_CMD} 's|-O2|${CFLAGS}|' ${WRKSRC}/Makefile
+	@${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_SCRIPT} ${WRKSRC}/sayaka.sh ${STAGEDIR}${PREFIX}/bin/sayaka
-	${INSTALL_PROGRAM} ${WRKSRC}/cellsize ${STAGEDIR}${PREFIX}/bin/cellsize
+	${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 ${PORTDATA}
-		${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
+.for f in ${COLORMAP_FILES}
+		${INSTALL_DATA} ${WRKSRC}/../$f ${STAGEDIR}${DATADIR}
 .endfor
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net-im/sayaka/distinfo
==============================================================================
--- head/net-im/sayaka/distinfo	Tue Nov  1 20:01:04 2016	(r425078)
+++ head/net-im/sayaka/distinfo	Tue Nov  1 20:01:15 2016	(r425079)
@@ -1,2 +1,3 @@
-SHA256 (isaki68k-sayaka-3.1.0_GH0.tar.gz) = 662237cc2d06ba46f4c1e80488274cd80b26f44a6582e2773f83d3ac55674401
-SIZE (isaki68k-sayaka-3.1.0_GH0.tar.gz) = 42303
+TIMESTAMP = 1477623954
+SHA256 (isaki68k-sayaka-3.2.2_GH0.tar.gz) = 8a3b74ce93d16e971bf3434775efdb5bb56b59f5451dfc8b9cf6b1c88f39756e
+SIZE (isaki68k-sayaka-3.2.2_GH0.tar.gz) = 104693

Added: head/net-im/sayaka/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sayaka/pkg-plist	Tue Nov  1 20:01:15 2016	(r425079)
@@ -0,0 +1,3 @@
+bin/sayaka
+%%COLORMAP%%%%DATADIR%%/colormap16.png
+%%COLORMAP%%%%DATADIR%%/colormap8.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611012001.uA1K1FB4012228>