freebsd-ports/science/coot/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

51 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= coot
DISTVERSION= 0.8.9.1
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/${PORTNAME}/source/releases/ \
https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/${PORTNAME}/dependencies/:data
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} refmac-monomer-library${EXTRACT_SUFX}:data reference-structures${EXTRACT_SUFX}:data
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Crystallographic Object-Oriented Toolkit
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libccp4c.so:science/libccp4 \
libclipper-core.so:science/clipper \
libcurl.so:ftp/curl \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libgsl.so:math/gsl \
libmmdb2.so:science/mmdb2 \
libpng16.so:graphics/png \
libsfftw.so:math/fftw-float \
libssm.so:science/libssm
RUN_DEPENDS= bash:shells/bash
USES= desktop-file-utils fortran gettext-runtime gmake libtool localbase:ldflags pkgconfig python:2.7 shebangfix sqlite
SHEBANG_FILES= src/coot.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-python
CONFIGURE_ARGS= --enable-shared --disable-static
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libartlgpl2 libgnomecanvas pango pangox-compat
USE_GL= gl glu glut
USE_XORG= ice sm x11 xmu xt
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
MAKE_ENV= PYTHON=${PYTHON_CMD}
CXXFLAGS+= -I${PYTHON_INCLUDEDIR}
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/lib/data
@cd ${WRKDIR} && ${COPYTREE_SHARE} monomers ${STAGEDIR}${DATADIR}/lib/data/
@cd ${WRKDIR} && ${COPYTREE_SHARE} reference-structures ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>