summaryrefslogtreecommitdiffstats
path: root/biology/tinker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/tinker/Makefile')
-rw-r--r--biology/tinker/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/biology/tinker/Makefile b/biology/tinker/Makefile
index 5b94878..c08697f 100644
--- a/biology/tinker/Makefile
+++ b/biology/tinker/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tinker
PORTVERSION= 4.2.20040908
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GENTOO} \
ftp://dasher.wustl.edu/pub/
@@ -18,8 +18,6 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A general purpose molecular modelling package
-BUILD_DEPENDS= imake:${X_IMAKE_PORT}
-
MAKE_ENV+= HAVE_G2C=yes INSTALL_PROGRAM="${INSTALL_PROGRAM}"
WRKSRC= ${WRKDIR}/tinker/source
@@ -46,7 +44,8 @@ FFLAGS+= -mfancy-math-387 -malign-double
.endif
.if defined(WITH_VIEWER)
-USE_XLIB= yes
+BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake
+USE_XORG= x11 xext xi
PLIST_SUB+= WITH_VIEWER=""
post-build:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build_viewer
OpenPOWER on IntegriCloud