aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-04-17 01:21:34 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-04-17 01:21:34 +0000
commit1faa4bae458df77a1ed5be8e626bdb5297cdc4fc (patch)
tree75dc134673d6afdf06e71261fc8a0ee3946f023f /science
parente241e8dbf6da9539b81eb52a9206ddf3a8149b05 (diff)
downloadports-1faa4bae458df77a1ed5be8e626bdb5297cdc4fc.tar.gz
ports-1faa4bae458df77a1ed5be8e626bdb5297cdc4fc.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/chemtool/Makefile15
-rw-r--r--science/chemtool/distinfo6
-rw-r--r--science/chemtool/pkg-plist1
3 files changed, 13 insertions, 9 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index fb1c1c1b82e3..328c55005ec8 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -5,25 +5,30 @@
# $FreeBSD$
PORTNAME= chemtool
-PORTVERSION= 1.6.9
+PORTVERSION= 1.6.10
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
MAINTAINER= maho@FreeBSD.org
COMMENT= Draw organic molecules easily and store them
-LIB_DEPENDS= EMF.1:${PORTSDIR}/graphics/libemf
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
USE_GNOME= gtk20
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF
+CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CFLAGS+="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CFLAGS+="${CFLAGS}" CPPFLAGS+="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
+.include <bsd.port.pre.mk>
+
+#isolate libEMF stuff
+LIB_DEPENDS+= EMF.1:${PORTSDIR}/graphics/libemf
+CFLAGS+= -I${LOCALBASE}/include/libEMF
+
MAN1= chemtool.1 cht.1
do-install:
@@ -42,4 +47,4 @@ do-install:
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/science/chemtool/distinfo b/science/chemtool/distinfo
index ad8e3326241e..ac0a0bb35af4 100644
--- a/science/chemtool/distinfo
+++ b/science/chemtool/distinfo
@@ -1,3 +1,3 @@
-MD5 (chemtool-1.6.9.tar.gz) = d13b16c019a9912cf0c3de07ca5bcd29
-SHA256 (chemtool-1.6.9.tar.gz) = 3a66286195e3e5a79000245c1c28eca6ef4deb0e19fe9c3b481bfbabb49a1a44
-SIZE (chemtool-1.6.9.tar.gz) = 430701
+MD5 (chemtool-1.6.10.tar.gz) = a1ce4f8965bb349e0dd0bc53313b35a8
+SHA256 (chemtool-1.6.10.tar.gz) = 9a4ba27e1a187efd46314b724b42862381360a08fe3939fea1e91127f8e5c53c
+SIZE (chemtool-1.6.10.tar.gz) = 466296
diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist
index 95bf355a367c..0060de2780c0 100644
--- a/science/chemtool/pkg-plist
+++ b/science/chemtool/pkg-plist
@@ -25,7 +25,6 @@ bin/cht
%%EXAMPLESDIR%%/kdo.cht
%%EXAMPLESDIR%%/krebs.cht
%%EXAMPLESDIR%%/labeltest
-%%EXAMPLESDIR%%/labeltest.svg
%%EXAMPLESDIR%%/pagodan.cht
%%EXAMPLESDIR%%/penicillin_v.cht
%%EXAMPLESDIR%%/pteridin.cht