aboutsummaryrefslogtreecommitdiff
path: root/science/dcl/Makefile
blob: 19a00a448312606a679d050f63f95b011558ab1f (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>

PORTNAME=	dcl
PORTVERSION=	5.4.8
PORTREVISION=	9
CATEGORIES=	science graphics
MASTER_SITES=	http://www.gfd-dennou.org/library/dcl/ \
		http://dennou-h.gfd-dennou.org/library/dcl/ \
		http://dennou-q.gfd-dennou.org/library/dcl/

MAINTAINER=	murashin@gfd-dennou.org
COMMENT=	Scientific graphic library for geoscience

# Converted from RESTRICTED
LICENSE=	dcl
LICENSE_NAME=	dcl
LICENSE_TEXT=	No commercial use
LICENSE_PERMS=	auto-accept

BROKEN=		fails to fetch from mastersite (newest release is 7.4.0 of 2020611)

MAKE_JOBS_UNSAFE=	yes
USES=		desthack fortran gnome pkgconfig xorg
USE_XORG=	x11 xext
USE_GNOME=	gtk20 gdkpixbuf2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-x

PORTDOCS=	CHECK CREDITS HISTORY README
PORTEXAMPLES=	*

OPTIONS_DEFINE=	DOCS EXAMPLES

.include <bsd.port.options.mk>

.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
FFLAGS+=	-fallow-invalid-boz
.endif

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>