diff options
author | yuri <yuri@FreeBSD.org> | 2018-07-08 08:39:48 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-07-08 08:39:48 +0800 |
commit | 042feb1ba83fd8affd4195fb5787ce4f80896041 (patch) | |
tree | a85e5c550749999512c350b761e1d0477be32003 /science | |
parent | fc3b3bff8d3bf5a0bab038b69f6baf2a2ba105ee (diff) | |
download | freebsd-ports-gnome-042feb1ba83fd8affd4195fb5787ce4f80896041.tar.gz freebsd-ports-gnome-042feb1ba83fd8affd4195fb5787ce4f80896041.tar.zst freebsd-ports-gnome-042feb1ba83fd8affd4195fb5787ce4f80896041.zip |
New port: science/libssm: C++ toolkit for superposition of macromolecules
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/libssm/Makefile | 31 | ||||
-rw-r--r-- | science/libssm/distinfo | 3 | ||||
-rw-r--r-- | science/libssm/pkg-descr | 9 | ||||
-rw-r--r-- | science/libssm/pkg-plist | 12 |
5 files changed, 56 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index ca7bd7a274a8..58879ed49a3f 100644 --- a/science/Makefile +++ b/science/Makefile @@ -100,6 +100,7 @@ SUBDIR += liblinear SUBDIR += liboglappth SUBDIR += libquantum + SUBDIR += libssm SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libxc diff --git a/science/libssm/Makefile b/science/libssm/Makefile new file mode 100644 index 000000000000..dd24b6e67bb8 --- /dev/null +++ b/science/libssm/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= libssm +DISTVERSION= 1.4 +CATEGORIES= science +MASTER_SITES= ftp://ftp.ccp4.ac.uk/opensource/ +DISTNAME= ssm-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ toolkit for superposition of macromolecules + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libccp4c.so:science/libccp4 \ + libmmdb2.so:science/mmdb2 + +USES= gmake libtool localbase:ldflags +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared --disable-static --enable-ccp4 --with-mmdb=${LOCALBASE} +INSTALL_TARGET= install-strip +USE_LDCONFIG= yes + +CFLAGS+= -fPIC +FFLAGS+= -fPIC + +xpost-configure: + ${REINPLACE_CMD} -e 's| -Wl,--as-needed||; s| -Wl,--no-as-needed||' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|^archive_cmds=|wl="-Wl,"; archive_cmds=|' ${WRKSRC}/libtool # wl is missing otherwise for some reason + +.include <bsd.port.mk> diff --git a/science/libssm/distinfo b/science/libssm/distinfo new file mode 100644 index 000000000000..21f9a111f3b1 --- /dev/null +++ b/science/libssm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1531009874 +SHA256 (ssm-1.4.tar.gz) = ea1a57d019bd69ab04e1b7c4faa2f8451584474a6fc16285c2211ef9f53b2704 +SIZE (ssm-1.4.tar.gz) = 424785 diff --git a/science/libssm/pkg-descr b/science/libssm/pkg-descr new file mode 100644 index 000000000000..efeb57d282bf --- /dev/null +++ b/science/libssm/pkg-descr @@ -0,0 +1,9 @@ +SSM is a macromolecular coordinate superposition library, written by Eugene +Krissinel of the EBI. + +The library implements the SSM algorithm of protein structure comparison in +three dimensions, which includes an original procedure of matching graphs built +on the protein's secondary-structure elements, followed by an iterative +three-dimensional alignment of protein backbone Calpha atoms. + +WWW: https://launchpad.net/ssm diff --git a/science/libssm/pkg-plist b/science/libssm/pkg-plist new file mode 100644 index 000000000000..574428708e1b --- /dev/null +++ b/science/libssm/pkg-plist @@ -0,0 +1,12 @@ +bin/superpose +include/ssm/ssm_align.h +include/ssm/ssm_csia.h +include/ssm/ssm_defs.h +include/ssm/ssm_graph.h +include/ssm/ssm_malign.h +include/ssm/ssm_superpose.h +include/ssm/ssm_vxedge.h +lib/libssm.so +lib/libssm.so.2 +lib/libssm.so.2.0.0 +libdata/pkgconfig/ssm.pc |