diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/gummi/Makefile | 64 | ||||
-rw-r--r-- | editors/gummi/distinfo | 2 | ||||
-rw-r--r-- | editors/gummi/files/patch-po__Makefile.in.in | 12 | ||||
-rw-r--r-- | editors/gummi/files/patch-src__update.c | 10 | ||||
-rw-r--r-- | editors/gummi/pkg-descr | 3 | ||||
-rw-r--r-- | editors/gummi/pkg-plist | 38 |
7 files changed, 130 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index 71596e166ac3..5f25eab32238 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -84,6 +84,7 @@ SUBDIR += gnuserv SUBDIR += gobby SUBDIR += gphpedit + SUBDIR += gummi SUBDIR += gwrite SUBDIR += heme SUBDIR += hexcurse diff --git a/editors/gummi/Makefile b/editors/gummi/Makefile new file mode 100644 index 000000000000..337b14b3c12b --- /dev/null +++ b/editors/gummi/Makefile @@ -0,0 +1,64 @@ +# Created by: Hakisho Nukama <Nukama@gmail.com> +# $FreeBSD$ + +PORTNAME= gummi +PORTVERSION= 0.6.5 +CATEGORIES= editors +MASTER_SITES= http://dev.midnightcoding.org/attachments/download/301/ + +MAINTAINER= nukama+maintainer@gmail.com +COMMENT= Simple LaTex editor for GTK users + +LICENSE= MIT + +BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext +LIB_DEPENDS+= poppler-glib:${PORTSDIR}/graphics/poppler-glib \ + gtkspell:${PORTSDIR}/textproc/gtkspell + +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_ICONV= yes +USE_XORG= xdamage xft xcursor xcomposite +USE_GNOME= desktopfileutils gtksourceview2 glib20 intlhack +USE_PKGCONFIG= build +INSTALLS_ICONS= yes +INSTALLS_OMF= yes + +MAN1= gummi.1 + +OPTIONS_DEFINE= TETEX LATEXMK RUBBER TEXCOUNT +OPTIONS_DEFAULT= TETEX + +TETEX_DESC= Use pdfetex typesetter +LATEXMK_DESC= Use latexmk typesetter +RUBBER_DESC= Use rubber typesetter +TEXCOUNT_DESC= With texcount statistics + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.if ${PORT_OPTIONS:MTETEX} +RUN_DEPENDS+= pdfetex:${PORTSDIR}/print/teTeX-base +.endif + +.if ${PORT_OPTIONS:MLATEXMK} +RUN_DEPENDS+= latexmk:${PORTSDIR}/print/latexmk +.endif + +.if ${PORT_OPTIONS:MRUBBER} +RUN_DEPENDS+= rubber:${PORTSDIR}/textproc/rubber +.endif + +.if ${PORT_OPTIONS:MTEXCOUNT} +#RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount +.endif + +.include <bsd.port.mk> diff --git a/editors/gummi/distinfo b/editors/gummi/distinfo new file mode 100644 index 000000000000..0db41554032f --- /dev/null +++ b/editors/gummi/distinfo @@ -0,0 +1,2 @@ +SHA256 (gummi-0.6.5.tar.gz) = b23c2958376ea43c701a276ad19ceac5b50d9cb32a489a10897b25aa5004fffb +SIZE (gummi-0.6.5.tar.gz) = 520902 diff --git a/editors/gummi/files/patch-po__Makefile.in.in b/editors/gummi/files/patch-po__Makefile.in.in new file mode 100644 index 000000000000..71de463c3cb1 --- /dev/null +++ b/editors/gummi/files/patch-po__Makefile.in.in @@ -0,0 +1,12 @@ +--- ./po/Makefile.in.in.orig 2012-01-29 20:42:39.060446287 +0000 ++++ ./po/Makefile.in.in 2012-01-29 20:43:42.348435836 +0000 +@@ -34,7 +34,8 @@ datadir = @datadir@ + datarootdir = @datarootdir@ + libdir = @libdir@ + DATADIRNAME = @DATADIRNAME@ +-itlocaledir = $(prefix)/$(DATADIRNAME)/locale ++sharedir = share ++itlocaledir = $(prefix)/$(sharedir)/locale + subdir = po + install_sh = @install_sh@ + # Automake >= 1.8 provides @mkdir_p@. diff --git a/editors/gummi/files/patch-src__update.c b/editors/gummi/files/patch-src__update.c new file mode 100644 index 000000000000..45c539752224 --- /dev/null +++ b/editors/gummi/files/patch-src__update.c @@ -0,0 +1,10 @@ +--- ./src/update.c.orig 2012-01-29 20:34:57.429446671 +0000 ++++ ./src/update.c 2012-01-29 20:35:29.991443641 +0000 +@@ -31,6 +31,7 @@ + + #include <stdio.h> + #include <string.h> ++#include <netinet/in.h> + + #ifndef WIN32 + # include <sys/socket.h> diff --git a/editors/gummi/pkg-descr b/editors/gummi/pkg-descr new file mode 100644 index 000000000000..8251d294aca2 --- /dev/null +++ b/editors/gummi/pkg-descr @@ -0,0 +1,3 @@ +Gummi is a LaTeX editor. It was designed with simplicity in mind. + +WWW: http://gummi.midnightcoding.org/ diff --git a/editors/gummi/pkg-plist b/editors/gummi/pkg-plist new file mode 100644 index 000000000000..057db35a4127 --- /dev/null +++ b/editors/gummi/pkg-plist @@ -0,0 +1,38 @@ +bin/gummi +share/applications/gummi.desktop +share/pixmaps/gummi.png +lib/gummi/latex_dvi.sh +%%DATADIR%%/ui/snippets.glade +%%DATADIR%%/ui/gummi.glade +%%DATADIR%%/ui/prefs.glade +%%DATADIR%%/snippets/snippets.lang +%%DATADIR%%/snippets/snippets.cfg +%%DATADIR%%/misc/default.tex +%%DATADIR%%/icons/gummi.png +%%DATADIR%%/icons/icon.png +%%NLS%%share/locale/ar/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/ca/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/da/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/de/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/el/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/es/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/hu/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/it/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/nl/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/pt/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/ro/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/gummi.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/gummi.mo +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%%/misc +@dirrm %%DATADIR%%/snippets +@dirrm %%DATADIR%%/ui +@dirrm %%DATADIR%% +@dirrm lib/gummi +@dirrm share/applications |