View | Details | Raw Unified | Return to bug 229992
Collapse All | Expand All

(-)x11/termite/Makefile (+29 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	termite
4
DISTVERSION=	13
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	x11
7
8
MAINTAINER=	stobbsm@gmail.com
9
COMMENT=	Lightwieght terminal based on vte
10
11
LICENSE=	GPLv2
12
13
USES=		gmake
14
BUILD_DEPENDS=	vte-ng>=0.42:x11-toolkits/vte-ng
15
RUN_DEPENDS=	${BUILD_DEPENDS}
16
17
ALL_TARGET=	termite
18
INSTALL_TARGET=	install
19
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	thestinger
22
GH_TUPLE=	thestinger:util:62faf9e:util
23
24
.include <bsd.port.pre.mk>
25
26
post-configure:
27
	@${CP} -r ${WRKDIR}/util-62faf9e/* ${WRKSRC}/util/
28
29
.include <bsd.port.post.mk>
(-)x11/termite/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1532376536
2
SHA256 (thestinger-termite-v13_GH0.tar.gz) = 5ba4687fb8bb970c4024f906d613cd271654f250a82871cc9c9f6140105359d4
3
SIZE (thestinger-termite-v13_GH0.tar.gz) = 23904
4
SHA256 (thestinger-util-62faf9e_GH0.tar.gz) = ec3ce513dedeac563d466bbf0320c68619f8292f3e348cbf2b05d92e9320c378
5
SIZE (thestinger-util-62faf9e_GH0.tar.gz) = 5887
(-)x11/termite/files/patch-termite-Makefile (+24 lines)
Line 0 Link Here
1
--- Makefile.orig	2017-12-11 14:37:05.000000000 -0700
2
+++ Makefile	2018-07-23 14:11:10.429719000 -0600
3
@@ -1,4 +1,4 @@
4
-VERSION = $(shell git describe --tags)
5
+VERSION = 13
6
 PREFIX = /usr/local
7
 GTK = gtk+-3.0
8
 VTE = vte-2.91
9
@@ -37,11 +37,12 @@
10
 
11
 install: termite termite.desktop termite.terminfo
12
 	mkdir -p ${DESTDIR}${TERMINFO}
13
+	mkdir -p ${DESTDIR}${PREFIX}/etc/xdg/termite
14
 	install -Dm755 termite ${DESTDIR}${PREFIX}/bin/termite
15
-	install -Dm644 config ${DESTDIR}/etc/xdg/termite/config
16
+	install -Dm644 config ${DESTDIR}${PREFIX}/etc/xdg/termite/config
17
 	install -Dm644 termite.desktop ${DESTDIR}${PREFIX}/share/applications/termite.desktop
18
-	install -Dm644 man/termite.1 ${DESTDIR}${PREFIX}/share/man/man1/termite.1
19
-	install -Dm644 man/termite.config.5 ${DESTDIR}${PREFIX}/share/man/man5/termite.config.5
20
+	install -Dm644 man/termite.1 ${DESTDIR}${PREFIX}/man/man1/termite.1
21
+	install -Dm644 man/termite.config.5 ${DESTDIR}${PREFIX}/man/man5/termite.config.5
22
 	tic -x -o ${DESTDIR}${TERMINFO} termite.terminfo
23
 
24
 uninstall:
(-)x11/termite/files/patch-termite.cc (+15 lines)
Line 0 Link Here
1
--- termite.cc.orig	2018-07-22 21:51:41.684099000 -0600
2
+++ termite.cc	2018-07-22 21:45:11.226912000 -0600
3
@@ -29,6 +29,12 @@
4
 #include <set>
5
 #include <string>
6
 
7
+#ifdef __FreeBSD__
8
+#include <errno.h>
9
+#include <sys/wait.h>
10
+#define M_PI 3.14159265358979323846
11
+#endif
12
+
13
 #include <gtk/gtk.h>
14
 #include <vte/vte.h>
15
 
(-)x11/termite/pkg-descr (+5 lines)
Line 0 Link Here
1
This is the port for the termite terminal emulatore based on VTE.
2
3
Currently requires vte-ng
4
5
WWW: https://github.com/thestinger/termite
(-)x11/termite/pkg-plist (+7 lines)
Line 0 Link Here
1
bin/termite
2
etc/xdg/termite/config
3
man/man1/termite.1.gz
4
man/man5/termite.config.5.gz
5
share/applications/termite.desktop
6
share/terminfo.db
7
@dir share/terminfo

Return to bug 229992