2013-07-10 15:12:03 +02:00
|
|
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
|
2003-05-10 03:29:11 +02:00
|
|
|
|
|
|
|
PORTNAME= chemtool
|
2005-11-20 03:49:30 +01:00
|
|
|
PORTVERSION= 1.7.20050716
|
2020-10-18 22:10:56 +02:00
|
|
|
PORTREVISION= 10
|
2003-05-10 03:29:11 +02:00
|
|
|
CATEGORIES= science
|
2005-11-20 03:49:30 +01:00
|
|
|
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
|
2019-03-13 06:09:02 +01:00
|
|
|
PKGNAMESUFFIX= -devel
|
2005-11-20 03:49:30 +01:00
|
|
|
DISTNAME= ct17a15
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2018-03-11 12:20:43 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-04 04:25:28 +02:00
|
|
|
COMMENT= Drawing organic molecules easily and store them (developer version)
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2021-02-18 04:32:16 +01:00
|
|
|
BROKEN_FreeBSD_13= ld: error: duplicate symbol: babelin
|
|
|
|
BROKEN_FreeBSD_14= ld: error: duplicate symbol: babelin
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIB_DEPENDS= libEMF.so:graphics/libemf
|
2020-10-18 22:10:56 +02:00
|
|
|
RUN_DEPENDS= fig2dev:print/fig2dev
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2019-11-07 18:17:53 +01:00
|
|
|
USES= compiler:c++11-lang gettext gmake gnome pkgconfig tar:tgz xorg
|
2006-08-07 03:21:53 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/
|
2005-11-20 03:49:30 +01:00
|
|
|
USE_GNOME= gtk20
|
2014-08-26 16:06:08 +02:00
|
|
|
USE_XORG= x11
|
2003-05-10 03:29:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-06 21:49:54 +02:00
|
|
|
CONFIGURE_ARGS= --enable-emf=yes
|
2014-06-25 07:35:31 +02:00
|
|
|
MAKE_ARGS+= MAKE=${MAKE_CMD}
|
2013-07-10 15:12:03 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2014-08-26 16:06:08 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2003-10-04 04:25:28 +02:00
|
|
|
post-patch:
|
2014-08-26 16:06:08 +02:00
|
|
|
@${REINPLACE_CMD} 's/-lstdc++//' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} '/^SYS_LIBRARIES =/s/$$/ -lX11/' ${WRKSRC}/Makefile.in
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2014-06-03 03:19:22 +02:00
|
|
|
post-install:
|
2014-08-26 16:06:08 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
2003-05-10 03:29:11 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|