Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 16:05:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364197 - head/science/ghemical
Message-ID:  <53e25244.5955.64c30bc1@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Aug  6 16:05:23 2014
New Revision: 364197
URL: http://svnweb.freebsd.org/changeset/ports/364197
QAT: https://qat.redports.org/buildarchive/r364197/

Log:
  - Stagify
  - Fix and optionize NLS

Modified:
  head/science/ghemical/Makefile
  head/science/ghemical/pkg-plist

Modified: head/science/ghemical/Makefile
==============================================================================
--- head/science/ghemical/Makefile	Wed Aug  6 15:57:07 2014	(r364196)
+++ head/science/ghemical/Makefile	Wed Aug  6 16:05:23 2014	(r364197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ghemical
 PORTVERSION=	3.0.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
 MASTER_SITES=	http://bioinformatics.org/ghemical/download/release20111012/	\
 		http://bioinformatics.org/ghemical/download/current
@@ -28,7 +28,14 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gamess --enable-mpqc --enable-openbabel --enable-gtk --enable-threads --enable-mopac7
 PLIST_SUB=	GHEMICAL_VERSION="${PORTVERSION}"
 
+CPPFLAGS=	-I${LOCALBASE}/include
+
 MAKE_ENV=	PKG_CONFIG=${LOCALBASE}/pkg-config
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
+
 .include <bsd.port.mk>

Modified: head/science/ghemical/pkg-plist
==============================================================================
--- head/science/ghemical/pkg-plist	Wed Aug  6 15:57:07 2014	(r364196)
+++ head/science/ghemical/pkg-plist	Wed Aug  6 16:05:23 2014	(r364197)
@@ -145,12 +145,12 @@ share/ghemical/%%GHEMICAL_VERSION%%/pixm
 share/ghemical/%%GHEMICAL_VERSION%%/pixmaps/transl_z.xpm
 share/ghemical/%%GHEMICAL_VERSION%%/pixmaps/zoom.xpm
 share/ghemical/%%GHEMICAL_VERSION%%/pixmaps/ghemical.png
-share/locale/de/LC_MESSAGES/ghemical.mo
-share/locale/fi/LC_MESSAGES/ghemical.mo
-share/locale/mk/LC_MESSAGES/ghemical.mo
-share/locale/pt_BR/LC_MESSAGES/ghemical.mo
-share/locale/ru/LC_MESSAGES/ghemical.mo
-share/locale/sq/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/de/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/mk/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/ghemical.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/ghemical.mo
 @dirrm share/ghemical/%%GHEMICAL_VERSION%%/pixmaps
 @dirrm share/ghemical/%%GHEMICAL_VERSION%%/user-docs/images
 @dirrm share/ghemical/%%GHEMICAL_VERSION%%/user-docs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e25244.5955.64c30bc1>