From owner-svn-ports-head@freebsd.org Thu May 5 10:19:32 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3D8DB2D429; Thu, 5 May 2016 10:19:31 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B66811C67; Thu, 5 May 2016 10:19:31 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u45AJU58068554; Thu, 5 May 2016 10:19:30 GMT (envelope-from nivit@FreeBSD.org) Received: (from nivit@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u45AJUkp068548; Thu, 5 May 2016 10:19:30 GMT (envelope-from nivit@FreeBSD.org) Message-Id: <201605051019.u45AJUkp068548@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nivit set sender to nivit@FreeBSD.org using -f From: Nicola Vitale Date: Thu, 5 May 2016 10:19:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414638 - in head/x11: . altyo altyo/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 10:19:32 -0000 Author: nivit Date: Thu May 5 10:19:30 2016 New Revision: 414638 URL: https://svnweb.freebsd.org/changeset/ports/414638 Log: AltYo - Drop-down terminal emulator, written in Vala, depends only on libvte and gtk3. WWW: https://github.com/linvinus/AltYo Added: head/x11/altyo/ head/x11/altyo/Makefile (contents, props changed) head/x11/altyo/distinfo (contents, props changed) head/x11/altyo/files/ head/x11/altyo/files/patch-Makefile (contents, props changed) head/x11/altyo/pkg-descr (contents, props changed) head/x11/altyo/pkg-plist (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Thu May 5 09:41:35 2016 (r414637) +++ head/x11/Makefile Thu May 5 10:19:30 2016 (r414638) @@ -7,6 +7,7 @@ SUBDIR += 9box SUBDIR += 9menu SUBDIR += alltray + SUBDIR += altyo SUBDIR += antimicro SUBDIR += appres SUBDIR += apwal Added: head/x11/altyo/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/altyo/Makefile Thu May 5 10:19:30 2016 (r414638) @@ -0,0 +1,39 @@ +# Created by: Nicola Stanislao Vitale,,+393928766927 +# $FreeBSD$ + +PORTNAME= altyo +#PORTVERSION= +DISTVERSION= 0.4_rc19 +CATEGORIES= x11 +DISTNAME= ${DISTVERSION}-${GH_ACCOUNT}1 + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Drop-down terminal emulator, written in Vala + +LICENSE= GPLv3 + +BUILD_DEPENDS= git:devel/git \ + valac:lang/vala + +ALL_TARGET= default + +GH_ACCOUNT= linvinus +GH_PROJECT= AltYo +GH_TAGNAME= debian/${DISTVERSION}-${GH_ACCOUNT}1 + +INSTALLS_ICONS= yes + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_MAKE_ENV= NLSUPPORT=yes +NLS_USES= gettext-runtime:run gettext-tools:build + +USES= gmake pkgconfig +USE_GITHUB= yes +USE_GNOME= gtk30 vte3 + +post-install: + -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/x11/altyo/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/altyo/distinfo Thu May 5 10:19:30 2016 (r414638) @@ -0,0 +1,2 @@ +SHA256 (0.4_rc19-linvinus1_GH0.tar.gz) = e0ce5a53d25a0378af279cbd472722cf02605f8fffe137fa2a4272f91d68af97 +SIZE (0.4_rc19-linvinus1_GH0.tar.gz) = 142389 Added: head/x11/altyo/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/altyo/files/patch-Makefile Thu May 5 10:19:30 2016 (r414638) @@ -0,0 +1,56 @@ +--- Makefile.orig 2016-04-19 20:55:59 UTC ++++ Makefile +@@ -1,25 +1,7 @@ + PRG_NAME=altyo + +-# guess Linux distro +-LINUX.DISTRIB.FILE=$(shell ls /etc/lsb-release 2>/dev/null) +-ifeq ($(LINUX.DISTRIB.FILE),) +-LINUX.DISTRIB.FILE=$(shell ls /etc/debian_version 2>/dev/null) +-endif +- +-ifeq ($(LINUX.DISTRIB.FILE),/etc/lsb-release) +-LINUX.DISTRIB.ID=$(shell grep DISTRIB_ID /etc/lsb-release | sed 's/DISTRIB_ID=//') +-endif +- +-ifeq ($(LINUX.DISTRIB.FILE),/etc/debian_version) +-LINUX.DISTRIB.ID=debian +-endif +- +-ifeq ($(LINUX.DISTRIB.ID),Ubuntu) +-LINUX.DISTRIB.ID=ubuntu +-endif +- +-CHANGELOG_TAG=${shell grep -m 1 "^altyo" ./debian/changelog | sed 's/.*(//' | sed 's/).*$$//'| sed 's/~/_/' | sed 's/:/%/'} +-GIT_HASH=${shell which git >/dev/null && git log -1 --pretty=format:%h} ++GIT_HASH= ++CHANGELOG_TAG= + VALA_FLAGS ?= + + #use tmpfs for ssd hard drive +@@ -95,19 +77,25 @@ install: gen_mo + test -z "$(DESTDIR)$(PREFIX)/share/applications" || mkdir -p "$(DESTDIR)$(PREFIX)/share/applications"; + cp -a ./data/altyo.desktop $(DESTDIR)$(PREFIX)/share/applications + cp -a ./data/altyo_standalone.desktop $(DESTDIR)$(PREFIX)/share/applications ++ifeq ($(NLSUPPORT),yes) + test -z "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES" || mkdir -p "$(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES"; + cp -a ./po/ru/LC_MESSAGES/altyo.mo $(DESTDIR)$(PREFIX)/share/locale/ru/LC_MESSAGES ++endif + test -z "$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps" || mkdir -p "$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps"; + cp -a ./data/altyo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps + test -z "$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps" || mkdir -p "$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps"; + cp -a ./data/altyo.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps + + gen_po: ++ifeq ($(NLSUPPORT),yes) + xgettext -o ./po/altyo.po --from-code=UTF-8 -language=C --keyword=_ --keyword=N_ $(VALA_FILES) $(GLADE_FILES) + msgmerge -s -U ./po/ru/LC_MESSAGES/$(PRG_NAME).po ./po/$(PRG_NAME).po ++endif + + gen_mo: ++ifeq ($(NLSUPPORT),yes) + msgfmt -c -v -o ./po/ru/LC_MESSAGES/$(PRG_NAME).mo ./po/ru/LC_MESSAGES/$(PRG_NAME).po ++endif + + source-package: + rm ./altyo || true Added: head/x11/altyo/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/altyo/pkg-descr Thu May 5 10:19:30 2016 (r414638) @@ -0,0 +1,4 @@ +AltYo - Drop-down terminal emulator, written in Vala, depends only +on libvte and gtk3. + +WWW: https://github.com/linvinus/AltYo Added: head/x11/altyo/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/altyo/pkg-plist Thu May 5 10:19:30 2016 (r414638) @@ -0,0 +1,6 @@ +bin/altyo +share/applications/altyo.desktop +share/applications/altyo_standalone.desktop +share/icons/hicolor/48x48/apps/altyo.png +share/icons/hicolor/scalable/apps/altyo.svg +%%NLS%%share/locale/ru/LC_MESSAGES/altyo.mo