2013-07-10 15:12:03 +02:00
|
|
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
|
2003-05-10 03:29:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chemtool
|
2005-11-20 03:49:30 +01:00
|
|
|
PORTVERSION= 1.7.20050716
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 7
|
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/
|
2004-03-30 17:23:05 +02:00
|
|
|
|
2005-11-20 03:49:30 +01:00
|
|
|
DISTNAME= ct17a15
|
2004-05-06 21:49:54 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2003-05-10 03:29:11 +02:00
|
|
|
|
|
|
|
MAINTAINER= maho@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
|
|
|
|
2004-05-06 21:49:54 +02:00
|
|
|
LIB_DEPENDS= EMF.1:${PORTSDIR}/graphics/libemf
|
2003-05-10 03:29:11 +02:00
|
|
|
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
|
|
|
|
|
2006-08-07 03:21:53 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/
|
2005-11-20 03:49:30 +01:00
|
|
|
USE_GNOME= gtk20
|
2010-12-04 08:34:27 +01:00
|
|
|
#USE_AUTOTOOLS= autoconf213
|
2003-05-10 03:29:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-06 15:01:53 +02:00
|
|
|
USES= gettext gmake pkgconfig
|
2004-05-06 21:49:54 +02:00
|
|
|
CONFIGURE_ARGS= --enable-emf=yes
|
|
|
|
PKGNAMESUFFIX= -devel
|
2013-12-25 23:08:13 +01:00
|
|
|
MAN1= chemtool.1 cht.1
|
|
|
|
MAKE_ARGS+= MAKE=${GMAKE}
|
2013-07-10 15:12:03 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2005-11-20 03:49:30 +01:00
|
|
|
#to include emf
|
2006-08-07 03:21:53 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/libEMF
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include/libEMF
|
2003-05-10 03:29:11 +02:00
|
|
|
|
2013-09-21 00:48:30 +02:00
|
|
|
NO_STAGE= yes
|
2003-10-04 04:25:28 +02:00
|
|
|
post-patch:
|
2005-11-20 03:49:30 +01:00
|
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure.in
|
|
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure
|
2003-05-10 03:29:11 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC}; ${GMAKE} install)
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/chemtool/; \
|
|
|
|
cd ${WRKSRC}/examples/; \
|
|
|
|
${INSTALL_DATA} * ${PREFIX}/share/examples/chemtool; \
|
|
|
|
)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|