# Created by: NAKATA, Maho # $FreeBSD: head/science/chemtool-devel/Makefile 565872 2021-02-18 03:32:16Z linimon $ PORTNAME= chemtool PORTVERSION= 1.7.20050716 PORTREVISION= 10 CATEGORIES= science MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ PKGNAMESUFFIX= -devel DISTNAME= ct17a15 MAINTAINER= ports@FreeBSD.org COMMENT= Drawing organic molecules easily and store them (developer version) BROKEN_FreeBSD_13= ld: error: duplicate symbol: babelin BROKEN_FreeBSD_14= ld: error: duplicate symbol: babelin LIB_DEPENDS= libEMF.so:graphics/libemf RUN_DEPENDS= fig2dev:print/fig2dev USES= compiler:c++11-lang gettext gmake gnome pkgconfig tar:tgz xorg WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/ USE_GNOME= gtk20 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-emf=yes MAKE_ARGS+= MAKE=${MAKE_CMD} MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF LIBS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} 's/-lstdc++//' ${WRKSRC}/configure @${REINPLACE_CMD} '/^SYS_LIBRARIES =/s/$$/ -lX11/' ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include