diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 7fe8064b6021..dc087c6a12c4 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -237,6 +237,7 @@ SUBDIR += ruby-pango SUBDIR += ruby-tk SUBDIR += ruby-wx + SUBDIR += sakura SUBDIR += scintilla SUBDIR += scx SUBDIR += sdl_gui diff --git a/x11-toolkits/sakura/Makefile b/x11-toolkits/sakura/Makefile new file mode 100644 index 000000000000..f4d75da80a04 --- /dev/null +++ b/x11-toolkits/sakura/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: sakura +# Date created: 2008/06/20 +# Whom: chinsan +# +# $FreeBSD$ +# + +PORTNAME= sakura +PORTVERSION= 2.2.0 +CATEGORIES= x11-toolkits gnome +MASTER_SITES= http://www.pleyades.net/david/projects/sakura/ \ + LOCAL/chinsan/${PORTNAME}/ + +MAINTAINER= chinsan@FreeBSD.org +COMMENT= A terminal emulator based on GTK and VTE + +BUILD_DEPENDS= vte:${PORTSDIR}/x11-toolkits/vte +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_CMAKE= yes +CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${LOCALBASE} + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +do-build: + @(cd ${BUILD_WRKSRC}; \ + cmake ${CMAKE_ARGS} .; \ + ${MAKE}) + +do-install: + @(cd ${BUILD_WRKSRC}; \ + ${MAKE} install) + +.include diff --git a/x11-toolkits/sakura/distinfo b/x11-toolkits/sakura/distinfo new file mode 100644 index 000000000000..ddb6b642600f --- /dev/null +++ b/x11-toolkits/sakura/distinfo @@ -0,0 +1,3 @@ +MD5 (sakura-2.2.0.tar.gz) = a49e5220b2e74a9c7f3db710a5a0db57 +SHA256 (sakura-2.2.0.tar.gz) = a6b7446b7f2cde26038a3e60431b044235ed4d1717bd63f213e8df70f4828815 +SIZE (sakura-2.2.0.tar.gz) = 32377 diff --git a/x11-toolkits/sakura/pkg-descr b/x11-toolkits/sakura/pkg-descr new file mode 100644 index 000000000000..4f6297a476df --- /dev/null +++ b/x11-toolkits/sakura/pkg-descr @@ -0,0 +1,9 @@ +sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator +with few dependencies, so you don't need a full GNOME desktop installed to +have a decent terminal emulator. Current terminal emulators based on VTE are +gnome-terminal, XFCE Terminal, TermIt and a small sample program included in +the vte sources. Sakura differences from the last one is that it uses a +notebook to provide several terminals in one window and adds a contextual +menu with some basic options. No more no less. + +WWW: http://www.pleyades.net/david/sakura.php diff --git a/x11-toolkits/sakura/pkg-plist b/x11-toolkits/sakura/pkg-plist new file mode 100644 index 000000000000..c6f40deabb0e --- /dev/null +++ b/x11-toolkits/sakura/pkg-plist @@ -0,0 +1,15 @@ +bin/sakura +%%NLS%%share/locale/ca/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/cs/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/de/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/es/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/fr/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/hu/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/it/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/ja/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/ru/LC_MESSAGES/sakura.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/sakura.mo +share/pixmaps/terminal-tango.png +share/applications/sakura.desktop +@dirrmtry share/applications