svn commit: r414638 - in head/x11: . altyo altyo/files

Nicola Vitale nivit at FreeBSD.org
Thu May 5 10:19:32 UTC 2016


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 <root at www.nivit.eu>
+# $FreeBSD$
+
+PORTNAME=	altyo
+#PORTVERSION=
+DISTVERSION=	0.4_rc19
+CATEGORIES=	x11
+DISTNAME=	${DISTVERSION}-${GH_ACCOUNT}1
+
+MAINTAINER=	nivit at 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 <bsd.port.mk>

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


More information about the svn-ports-all mailing list