summaryrefslogtreecommitdiff
path: root/science/chemtool
diff options
context:
space:
mode:
Diffstat (limited to 'science/chemtool')
-rw-r--r--science/chemtool/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index 10642731a1d5..46d67c971044 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -6,25 +6,23 @@
PORTNAME= chemtool
PORTVERSION= 1.6
+PORTREVISION= 1
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
+LIB_DEPENDS= EMF.1:${PORTSDIR}/graphics/libemf
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF" \
LDFLAGS="-L${LOCALBASE}/lib"
-#future support for EMF
-#CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF" \
-# LDFLAGS="-L${LOCALBASE}/lib"
-#CONFIGURE_ARGS= --enable-emf=yes
+CONFIGURE_ARGS= --enable-emf=yes
MAN1= chemtool.1 cht.1