Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 22:15:17 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350173 - head/editors/gummi
Message-ID:  <201404042215.s34MFH7v023659@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Apr  4 22:15:16 2014
New Revision: 350173
URL: http://svnweb.freebsd.org/changeset/ports/350173
QAT: https://qat.redports.org/buildarchive/r350173/

Log:
  - Stage support [1]
  - Use option helpers [1]
  - Deprecate, resulting software is unusable
  
  PR:		ports/186337 [1]
  Submitted by:	maintainer

Modified:
  head/editors/gummi/Makefile
  head/editors/gummi/pkg-plist

Modified: head/editors/gummi/Makefile
==============================================================================
--- head/editors/gummi/Makefile	Fri Apr  4 22:13:44 2014	(r350172)
+++ head/editors/gummi/Makefile	Fri Apr  4 22:15:16 2014	(r350173)
@@ -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/
-
-MAINTAINER=	nukama+maintainer@gmail.com
-COMMENT=	Simple LaTex editor for GTK users
-
-LICENSE=	MIT
-
-BUILD_DEPENDS+=	msgfmt:${PORTSDIR}/devel/gettext
-LIB_DEPENDS+=	libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
-		gtkspell:${PORTSDIR}/textproc/gtkspell
-
-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
+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
+
+DEPRECATED=		Builds fine but the program itself is unusable
+EXPIRATION_DATE=	2014-07-01
+
+LICENSE=		MIT
+
+BUILD_DEPENDS+=		msgfmt:${PORTSDIR}/devel/gettext
+LIB_DEPENDS+=		libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
+			libgtkspell.so:${PORTSDIR}/textproc/gtkspell
+
+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
 
-MAN1=		gummi.1
-
-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
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS+=	--enable-nls
-PLIST_SUB+=	NLS=""
-.else
+TETEX_DESC=		Use pdfetex typesetter
+LATEXMK_DESC=		Use latexmk typesetter
+RUBBER_DESC=		Use rubber typesetter
+TEXCOUNT_DESC=		With texcount statistics
+
 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=""
+
+TETEX_RUN_DEPENDS=	pdfetex:${PORTSDIR}/print/teTeX-base
+
+LATEXMK_RUN_DEPENDS=	latexmk:${PORTSDIR}/print/latexmk
+
+RUBBER_RUN_DEPENDS=	rubber:${PORTSDIR}/textproc/rubber
 
-.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
+TEXCOUNT_RUN_DEPENDS=	${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount
 
 .include <bsd.port.mk>

Modified: head/editors/gummi/pkg-plist
==============================================================================
--- head/editors/gummi/pkg-plist	Fri Apr  4 22:13:44 2014	(r350172)
+++ head/editors/gummi/pkg-plist	Fri Apr  4 22:15:16 2014	(r350173)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404042215.s34MFH7v023659>