2013-06-27 08:32:04 +00:00
|
|
|
# Created by: Hakisho Nukama <Nukama@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gummi
|
|
|
|
PORTVERSION= 0.6.5
|
2013-12-27 16:54:21 +00:00
|
|
|
PORTREVISION= 1
|
2013-06-27 08:32:04 +00:00
|
|
|
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
|
2013-12-27 16:54:21 +00:00
|
|
|
LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
|
2013-06-27 08:32:04 +00:00
|
|
|
gtkspell:${PORTSDIR}/textproc/gtkspell
|
|
|
|
|
2013-07-06 07:59:09 +00:00
|
|
|
USES= iconv gmake pkgconfig
|
2013-06-27 08:32:04 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_XORG= xdamage xft xcursor xcomposite
|
|
|
|
USE_GNOME= desktopfileutils gtksourceview2 glib20 intlhack
|
|
|
|
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
|
|
|
|
|
2013-09-20 16:36:23 +00:00
|
|
|
NO_STAGE= yes
|
2013-06-27 08:32:04 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-07-29 22:37:26 +00:00
|
|
|
USES+= gettext
|
2013-06-27 08:32:04 +00:00
|
|
|
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}
|
2013-06-27 09:01:57 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
|
2013-06-27 08:32:04 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|