Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 23:06:21 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341471 - head/textproc/gnome-translate
Message-ID:  <201401272306.s0RN6LUw051819@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Jan 27 23:06:21 2014
New Revision: 341471
URL: http://svnweb.freebsd.org/changeset/ports/341471
QAT: https://qat.redports.org/buildarchive/r341471/

Log:
  - Convert to staging
  - New format lib_depends
  - Fix an option, the logic had been reversed two years ago when converting to optionsng.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/gnome-translate/Makefile

Modified: head/textproc/gnome-translate/Makefile
==============================================================================
--- head/textproc/gnome-translate/Makefile	Mon Jan 27 23:01:16 2014	(r341470)
+++ head/textproc/gnome-translate/Makefile	Mon Jan 27 23:06:21 2014	(r341471)
@@ -11,14 +11,13 @@ MASTER_SITE_SUBDIR=	libtranslate
 MAINTAINER=		ports@FreeBSD.org
 COMMENT=		A natural language translator
 
-LIB_DEPENDS=		translate:${PORTSDIR}/textproc/libtranslate
+LIB_DEPENDS=		libtranslate.so:${PORTSDIR}/textproc/libtranslate
 
 INSTALLS_OMF=		yes
 INSTALLS_ICONS=		yes
 GCONF_SCHEMAS=		gnome-translate.schemas
-USES=			pathfix pkgconfig
+USES=			pathfix pkgconfig gmake
 USE_GNOME=		gnomeprefix eel2 intlhack libgnomeui
-USE_GMAKE=		yes
 GNU_CONFIGURE=		yes
 CPPFLAGS+=		-I${LOCALBASE}/include
 LDFLAGS+=		-L${LOCALBASE}/lib -Wl,-export-dynamic
@@ -27,13 +26,7 @@ OPTIONS_DEFINE=		LANGUAGE_DETECTION
 LANGUAGE_DETECTION_DESC=	language detection
 OPTIONS_DEFAULT=	LANGUAGE_DETECTION
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+LANGUAGE_DETECTION_CONFIGURE_ENABLE=	language-detection
+LANGUAGE_DETECTION_LIB_DEPENDS=		libaspell.so:${PORTSDIR}/textproc/aspell
 
-.if ${PORT_OPTIONS:MLANGUAGE_DETECTION}
-CONFIGURE_ARGS+=	--disable-language-detection
-.else
-LIB_DEPENDS+=		aspell:${PORTSDIR}/textproc/aspell
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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