1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/math/alberta/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

47 lines
1.1 KiB
Makefile

PORTNAME= alberta
DISTVERSION= 3.0.3
PORTREVISION= 1
CATEGORIES= math
PKGNAMESUFFIX= -fem
MAINTAINER= yuri@FreeBSD.org
COMMENT= Adaptive multi-level finite element toolbox
WWW= https://www.alberta-fem.de/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:textproc/gsed \
opendx>0:graphics/opendx
LIB_DEPENDS= libltdl.so:devel/libltdl
RUN_DEPENDS= opendx>0:graphics/opendx # binaries aren't linked with it, not sure if it is really used
USES= autoreconf fortran gl gmake libtool localbase:ldflags motif pkgconfig xorg
USE_GL= gl
USE_XORG= xt
USE_LDCONFIG= yes
USE_GITLAB= yes
GL_SITE= https://gitlab.mathematik.uni-stuttgart.de/ians-nmh
GL_ACCOUNT= alberta
GL_PROJECT= alberta3
GL_TAGNAME= 920315ae1bbfd1b1fb6672d916619ac37a411e95
GNU_CONFIGURE= yes
LDFLAGS+= -lXm -lXt -pthread # link breaks without these
MAKE_JOBS_UNSAFE= yes # otherwise it begins to rebuild something during stage and fails
INSTALL_TARGET= install-strip
BINARY_ALIAS= make=${GMAKE} sed=gsed
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.mk>