summaryrefslogtreecommitdiff
path: root/science/dcl/Makefile
blob: 93a2f7aa4af52dfd1e5a5bfdcf4f3fffb4842e1d (plain)
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
# New ports collection makefile for:	DCL
# Date created:		30 January 2005
# Whom:			Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	dcl
PORTVERSION=	5.4.4
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

USE_XORG=	x11 xext
USE_FORTRAN=	yes
USE_GNOME=	gtk20 gdkpixbuf2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --with-x

PORTDOCS=	CHECK CREDITS HISTORY README
PORTEXAMPLES=	*

RESTRICTED=	No commercial use

post-install:
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>