1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/science/dcl/Makefile
Martin Wilke 7566779fed - Fix inappropriate use of NO*vars
- Add backup MASTER_SITES
- Use COPYTREE_SHARE
- Update maintainer's email address

PR:		127314
Submitted by:	Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> (maintainer)
2008-09-26 08:54:21 +00:00

46 lines
1.1 KiB
Makefile

# 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.3.3
PORTREVISION= 2
CATEGORIES= science graphics
MASTER_SITES= http://www.gfd-dennou.org/arch/dcl/ \
http://dennou-h.gfd-dennou.org/arch/dcl/ \
http://dennou-q.gfd-dennou.org/arch/dcl/
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Scientific graphic library for geoscience
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gtk2 --disable-gtk --with-x
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
CONFIGURE_ENV+= FC="${FC}" FFLAGS="${FFLAGS}"
DOCFILES= CHECK CREDITS HISTORY README README_clrmap README_gt2dlib \
README_itr51 README_pslib README_umfmap
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 ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>