aboutsummaryrefslogtreecommitdiff
path: root/editors/gummi
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-04-04 22:15:16 +0000
committerRene Ladan <rene@FreeBSD.org>2014-04-04 22:15:16 +0000
commitbcd13465bde59102e727523e1805f12d0fcd4295 (patch)
treeebacc31dcb194d5d473ab82a70657a5834435253 /editors/gummi
parent24708f28b57a2a194c08741a2b484df96561ea31 (diff)
downloadports-bcd13465bde59102e727523e1805f12d0fcd4295.tar.gz
ports-bcd13465bde59102e727523e1805f12d0fcd4295.zip
- Stage support [1]
- Use option helpers [1] - Deprecate, resulting software is unusable PR: ports/186337 [1] Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=350173
Diffstat (limited to 'editors/gummi')
-rw-r--r--editors/gummi/Makefile80
-rw-r--r--editors/gummi/pkg-plist1
2 files changed, 35 insertions, 46 deletions
diff --git a/editors/gummi/Makefile b/editors/gummi/Makefile
index 1d17b3dd807d..51373bdfe5e6 100644
--- a/editors/gummi/Makefile
+++ b/editors/gummi/Makefile
@@ -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 "
+
+NLS_USES+= gettext
+NLS_CONFIGURE_ARGS+= --enable-nls
+NLS_PLIST_SUB+= NLS=""
-.if ${PORT_OPTIONS:MTETEX}
-RUN_DEPENDS+= pdfetex:${PORTSDIR}/print/teTeX-base
-.endif
+TETEX_RUN_DEPENDS= pdfetex:${PORTSDIR}/print/teTeX-base
-.if ${PORT_OPTIONS:MLATEXMK}
-RUN_DEPENDS+= latexmk:${PORTSDIR}/print/latexmk
-.endif
+LATEXMK_RUN_DEPENDS= latexmk:${PORTSDIR}/print/latexmk
-.if ${PORT_OPTIONS:MRUBBER}
-RUN_DEPENDS+= rubber:${PORTSDIR}/textproc/rubber
-.endif
+RUBBER_RUN_DEPENDS= rubber:${PORTSDIR}/textproc/rubber
-.if ${PORT_OPTIONS:MTEXCOUNT}
-RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
-.endif
+TEXCOUNT_RUN_DEPENDS= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
.include <bsd.port.mk>
diff --git a/editors/gummi/pkg-plist b/editors/gummi/pkg-plist
index b78c7e97558d..c068154c9972 100644
--- a/editors/gummi/pkg-plist
+++ b/editors/gummi/pkg-plist
@@ -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