blob: 1c3fdb6f559a0f99f8b506f650ade8b5a69e7cb0 (
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
|
## New ports collection makefile for: swt
# Date created: 28 March 2006
# Whom: Max Brazhnikov makc@issp.ac.ru
#
# $FreeBSD$
#
PORTNAME= swt
PORTVERSION= 0.1.0.r3
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scwt
PKGNAMEPREFIX= scilab-toolbox-
DISTNAME= ${PORTNAME}-0.1.0rc3
MAINTAINER= makc@issp.ac.ru
COMMENT= Scilab 1-D and 2-D Wavelet Toolbox
BUILD_DEPENDS+= scilab:${PORTSDIR}/math/scilab
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
USE_LDCONFIG= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib/scilab/contrib/swt/lib
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${PREFIX}/lib/scilab/contrib/swt
TOOLBOXDIR= lib/scilab/contrib/swt
PLIST_SUB= TOOLBOXDIR=${TOOLBOXDIR}
post-install@:
@${ECHO_MSG} "==========================================================="
@${ECHO_MSG} "NOTE: SWT should be recompiled whenever Scilab is upgraded."
@${ECHO_MSG} "==========================================================="
.include <bsd.port.mk>
|