Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 12:37:39 GMT
From:      Hakisho Nukama <nukama@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186337: editors/gummi add STAGE support
Message-ID:  <201402011237.s11Cbd46032253@oldred.freebsd.org>
Resent-Message-ID: <201402011240.s11Ce2Z2035570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186337
>Category:       ports
>Synopsis:       editors/gummi add STAGE support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 01 12:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hakisho Nukama
>Release:        10.0-RELEASE
>Organization:
n/a
>Environment:
>Description:
- STAGEify
- OPTION_DEPENDify
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rup /usr/ports/editors/gummi/Makefile editors/gummi/Makefile
--- /usr/ports/editors/gummi/Makefile	2013-12-27 16:54:21.000000000 +0000
+++ editors/gummi/Makefile	2014-01-31 12:47:16.383948616 +0000
@@ -1,64 +1,49 @@
-# Created by: Hakisho Nukama <Nukama@gmail.com>
-# $FreeBSD: editors/gummi/Makefile 337749 2013-12-27 16:54:21Z kwm $
+# 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
+
+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>
diff -rup /usr/ports/editors/gummi/pkg-plist editors/gummi/pkg-plist
--- /usr/ports/editors/gummi/pkg-plist	2013-10-22 13:57:35.000000000 +0000
+++ editors/gummi/pkg-plist	2014-01-31 12:19:05.888305341 +0000
@@ -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


>Release-Note:
>Audit-Trail:
>Unformatted:



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