aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-meshgen2d/Makefile
blob: cb8e9abf27f85d7ab7a9f9e8275371c982bf4c12 (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
# New ports collection makefile for:    elmer-meshgen2d
# Date created:     5 Jan 2006
# Whom:         Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   meshgen2d
PORTVERSION=    5.0.0
PORTREVISION=   2
CATEGORIES= science
MASTER_SITES=   ftp://ftp.funet.fi/pub/sci/physics/elmer/src/
PKGNAMEPREFIX=  elmer-

MAINTAINER= araujo@FreeBSD.org
COMMENT=    A Mesh Generation Utility for use with the ELMER FEM package

WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC=     gfortran42
F77=        gfortran42

GNU_CONFIGURE=  yes
ALL_TARGET=

PLIST_FILES=    bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D \
        bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-Mesh2D  \
        bin/ElmerMesh2D bin/Mesh2D

post-install:
        ${LN} -sf ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D \
            ${PREFIX}/bin/ElmerMesh2D
        ${LN} -sf ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-Mesh2D \
            ${PREFIX}/bin/Mesh2D

.include <bsd.port.mk>