- Stagify

- Fix and optionize NLS
This commit is contained in:
Dmitry Marakasov 2014-08-06 16:05:23 +00:00
parent 0803b4afd9
commit 79957426d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364197
2 changed files with 15 additions and 8 deletions

View File

@ -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>

View File

@ -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