summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-27 23:06:21 +0000
committermat <mat@FreeBSD.org>2014-01-27 23:06:21 +0000
commitc17ac346a7b13a97490847b5c0dc4915bc055766 (patch)
treebc922b7b483ed3dcf204f631f62b098603359de8
parent80edbab7336d22af483232ecd6eb0fb8f928ba75 (diff)
downloadFreeBSD-ports-c17ac346a7b13a97490847b5c0dc4915bc055766.zip
FreeBSD-ports-c17ac346a7b13a97490847b5c0dc4915bc055766.tar.gz
- 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
-rw-r--r--textproc/gnome-translate/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile
index 8f03691..d1a9dfe 100644
--- a/textproc/gnome-translate/Makefile
+++ b/textproc/gnome-translate/Makefile
@@ -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>
OpenPOWER on IntegriCloud