PORTNAME= chemtool DISTVERSION= 1.6.14 PORTREVISION= 4 CATEGORIES= science MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ MAINTAINER= yuri@FreeBSD.org COMMENT= Draw organic molecules easily and store them WWW= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libEMF.so:graphics/libemf \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= fig2dev:print/fig2dev USES= compiler:c++11-lang gmake gnome pkgconfig xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX} USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 CFLAGS+= -fcommon # notified the author via e-mail on Sep 20, 2020 OPTIONS_DEFINE= NLS EXAMPLES OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PORTEXAMPLES= * do-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} .include