1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Stage support [1]

- Use option helpers [1]
- Deprecate, resulting software is unusable

PR:		ports/186337 [1]
Submitted by:	maintainer
This commit is contained in:
Rene Ladan 2014-04-04 22:15:16 +00:00
parent 24708f28b5
commit bcd13465bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350173
2 changed files with 35 additions and 46 deletions

View File

@ -1,64 +1,52 @@
# Created by: Hakisho Nukama <Nukama@gmail.com>
# Created by: Hakisho Nukama <nukama@gmail.com>
# $FreeBSD$
PORTNAME= gummi
PORTVERSION= 0.6.5
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://dev.midnightcoding.org/attachments/download/301/
PORTNAME= gummi
PORTVERSION= 0.6.5
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://dev.midnightcoding.org/attachments/download/301/
MAINTAINER= nukama+maintainer@gmail.com
COMMENT= Simple LaTex editor for GTK users
MAINTAINER= nukama+maintainer@gmail.com
COMMENT= Simple LaTex editor for GTK users
LICENSE= MIT
DEPRECATED= Builds fine but the program itself is unusable
EXPIRATION_DATE= 2014-07-01
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
gtkspell:${PORTSDIR}/textproc/gtkspell
LICENSE= MIT
USES= iconv gmake pkgconfig
GNU_CONFIGURE= yes
USE_XORG= xdamage xft xcursor xcomposite
USE_GNOME= desktopfileutils gtksourceview2 glib20 intlhack
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
libgtkspell.so:${PORTSDIR}/textproc/gtkspell
MAN1= gummi.1
USES= iconv gmake pkgconfig desktop-file-utils
GNU_CONFIGURE= yes
USE_XORG= xdamage xft xcursor xcomposite
USE_GNOME= gtksourceview2 glib20 intlhack
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
OPTIONS_DEFINE= TETEX LATEXMK RUBBER TEXCOUNT
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
TETEX_DESC= Use pdfetex typesetter
LATEXMK_DESC= Use latexmk typesetter
RUBBER_DESC= Use rubber typesetter
TEXCOUNT_DESC= With texcount statistics
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
PLIST_SUB+= NLS="@comment "
.if ${PORT_OPTIONS:MTETEX}
RUN_DEPENDS+= pdfetex:${PORTSDIR}/print/teTeX-base
.endif
NLS_USES+= gettext
NLS_CONFIGURE_ARGS+= --enable-nls
NLS_PLIST_SUB+= NLS=""
.if ${PORT_OPTIONS:MLATEXMK}
RUN_DEPENDS+= latexmk:${PORTSDIR}/print/latexmk
.endif
TETEX_RUN_DEPENDS= pdfetex:${PORTSDIR}/print/teTeX-base
.if ${PORT_OPTIONS:MRUBBER}
RUN_DEPENDS+= rubber:${PORTSDIR}/textproc/rubber
.endif
LATEXMK_RUN_DEPENDS= latexmk:${PORTSDIR}/print/latexmk
.if ${PORT_OPTIONS:MTEXCOUNT}
RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
.endif
RUBBER_RUN_DEPENDS= rubber:${PORTSDIR}/textproc/rubber
TEXCOUNT_RUN_DEPENDS= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
.include <bsd.port.mk>

View File

@ -2,6 +2,7 @@ bin/gummi
share/applications/gummi.desktop
share/pixmaps/gummi.png
lib/gummi/latex_dvi.sh
man/man1/gummi.1.gz
%%DATADIR%%/ui/snippets.glade
%%DATADIR%%/ui/gummi.glade
%%DATADIR%%/ui/prefs.glade