summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-06 16:05:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-06 16:05:23 +0000
commit79957426d842ac8aabb01421d0f7e7458e5d812f (patch)
tree2f1b29dec9ef0c1e5726a41bffb7fd4ff055b15e /science
parent0803b4afd91d0a3280f2214a6b0a5b21157418d7 (diff)
Notes
Diffstat (limited to 'science')
-rw-r--r--science/ghemical/Makefile11
-rw-r--r--science/ghemical/pkg-plist12
2 files changed, 15 insertions, 8 deletions
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index 24a7abca94b2..2daa0e75f0de 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -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>
diff --git a/science/ghemical/pkg-plist b/science/ghemical/pkg-plist
index edb09aced4a1..1f7cc40c7a95 100644
--- a/science/ghemical/pkg-plist
+++ b/science/ghemical/pkg-plist
@@ -145,12 +145,12 @@ share/ghemical/%%GHEMICAL_VERSION%%/pixmaps/transl_xy.xpm
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