freebsd-ports/science/coot/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

52 lines
1.8 KiB
Makefile

# $FreeBSD$
PORTNAME= coot
DISTVERSION= 0.8.9.2
PORTREVISION= 2
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
BUILD_DEPENDS= fftw>0:math/fftw
LIB_DEPENDS= libccp4c.so:science/libccp4 \
libclipper-core.so:science/clipper \
libcurl.so:ftp/curl \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgoocanvas.so:graphics/goocanvas \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libgsl.so:math/gsl \
libmmdb2.so:science/mmdb2 \
libpng.so:graphics/png \
libsfftw.so:math/fftw-float \
libssm.so:science/libssm
RUN_DEPENDS= bash:shells/bash
USES= compiler:c++11-lang desktop-file-utils fortran gettext-runtime gl gmake gnome libtool localbase:ldflags pkgconfig python:2.7 shebangfix sqlite
SHEBANG_FILES= src/coot.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static --with-goocanvas-prefix=${LOCALBASE}
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} -DANALYSE_REFINEMENT_TIMING
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>