summaryrefslogtreecommitdiff
path: root/science/apbs/Makefile
blob: 1ff8f3ba05bd735846975a5d1bf0c63a7d8af6d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	apbs
DISTVERSIONPREFIX=	${PORTNAME}-
DISTVERSION=	1.5-102
DISTVERSIONSUFFIX=	-g500c1473
CATEGORIES=	science

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Electrostatic and solvation properties for complex molecules

LICENSE=	MIT

USES=		cmake shebangfix
SHEBANG_FILES=	tools/github/getReleases.sh
USE_GITHUB=	yes
GH_ACCOUNT=	Electrostatics
GH_PROJECT=	apbs-pdb2pqr
GH_TUPLE=	Electrostatics:FETK:0c6fdea:fetk/externals/fetk \
		Electrostatics:geoflow_c:e8ce510:geoflow_c/externals/geoflow_c \
		lwwilson1:TABIPB:7e3a407:bem/externals/bem \
		lwwilson1:mesh_routines:ddb75cb:mr/externals/mesh_routines \
		davas301:pb_solvers:4858465:ps/externals/pb_s_am
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS

# Fix build on recent current with clang11
CFLAGS+=	-fcommon

WRKSRC_SUBDIR=	${PORTNAME}

post-stage: # https://github.com/Electrostatics/apbs-pdb2pqr/issues/522
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/apbs/tools/bin/*

.include <bsd.port.mk>