svn commit: r341471 - head/textproc/gnome-translate
Mathieu Arnold
mat at FreeBSD.org
Mon Jan 27 23:06:21 UTC 2014
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 at 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>
More information about the svn-ports-head
mailing list