fix MASTER_SITES, some spacing adjustments
This commit is contained in:
parent
394520591f
commit
7cd2b78b56
@ -1,45 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.59 2012/06/21 13:56:57 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.60 2012/06/30 07:44:34 steven Exp $
|
||||
|
||||
# vax: no IEEE arithmetic
|
||||
# sparc: fPIC version of libgcc.a needed but not available
|
||||
NOT_FOR_ARCHS= vax sparc
|
||||
NOT_FOR_ARCHS = vax sparc
|
||||
|
||||
COMMENT= high-level language for numerical computations
|
||||
COMMENT = high-level language for numerical computations
|
||||
|
||||
VERSION= 3.0.5
|
||||
DISTNAME= octave-${VERSION}
|
||||
REVISION= 9
|
||||
CATEGORIES= math
|
||||
VERSION = 3.0.5
|
||||
DISTNAME = octave-${VERSION}
|
||||
REVISION = 9
|
||||
CATEGORIES = math
|
||||
|
||||
SHARED_LIBS= cruft 5.0 \
|
||||
SHARED_LIBS = cruft 5.0 \
|
||||
octave 5.0 \
|
||||
octinterp 4.0
|
||||
|
||||
HOMEPAGE= http://www.gnu.org/software/octave/
|
||||
HOMEPAGE = http://www.gnu.org/software/octave/
|
||||
|
||||
MAINTAINER= Steven Mestdagh <steven@openbsd.org>
|
||||
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
|
||||
|
||||
# GPL v3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB= c m ncurses readline stdc++ z ${MODFORTRAN_WANTLIB} \
|
||||
fftw3>=3 lapack>=3 blas>=1 amd umfpack pcre>=1 curl>=6
|
||||
|
||||
MASTER_SITES= ftp://ftp.octave.org/pub/octave/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/ \
|
||||
ftp://neacm.fe.up.pt/pub/octave/
|
||||
MASTER_SITES = ${MASTER_SITE_GNU:=octave/}
|
||||
|
||||
MODULES= fortran
|
||||
MODULES = fortran
|
||||
MODFORTRAN_COMPILER = g77
|
||||
|
||||
BUILD_DEPENDS= ${MODFORTRAN_BUILD_DEPENDS} \
|
||||
BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS} \
|
||||
devel/desktop-file-utils
|
||||
RUN_DEPENDS= devel/gmake \
|
||||
RUN_DEPENDS = devel/gmake \
|
||||
devel/desktop-file-utils
|
||||
LIB_DEPENDS= ${MODFORTRAN_LIB_DEPENDS} \
|
||||
LIB_DEPENDS = ${MODFORTRAN_LIB_DEPENDS} \
|
||||
math/fftw3 \
|
||||
math/lapack \
|
||||
math/blas \
|
||||
@ -48,32 +46,32 @@ LIB_DEPENDS= ${MODFORTRAN_LIB_DEPENDS} \
|
||||
devel/pcre \
|
||||
net/curl
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_GMAKE = Yes
|
||||
USE_GROFF = Yes
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
CONFIGURE_STYLE=autoconf
|
||||
AUTOCONF_VERSION=2.61
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
SEPARATE_BUILD = Yes
|
||||
CONFIGURE_STYLE = autoconf
|
||||
AUTOCONF_VERSION = 2.61
|
||||
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
||||
--with-fftw \
|
||||
--without-mpi \
|
||||
--without-hdf5
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
F77=${FC} \
|
||||
SED=/usr/bin/sed
|
||||
MAKE_ENV= LIBcruft_VERSION=${LIBcruft_VERSION} \
|
||||
MAKE_ENV = LIBcruft_VERSION=${LIBcruft_VERSION} \
|
||||
LIBoctave_VERSION=${LIBoctave_VERSION} \
|
||||
LIBoctinterp_VERSION=${LIBoctinterp_VERSION}
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CONFIGURE_ENV+= FFLAGS="${FFLAGS}"
|
||||
CONFIGURE_ENV += FFLAGS="${FFLAGS}"
|
||||
.endif
|
||||
|
||||
# needed to build on amd64
|
||||
GCC_ARCH= ${MACHINE_ARCH}-unknown-openbsd${OSREV}
|
||||
GNU_ARCH= ${GCC_ARCH:S/amd64/x86_64/}
|
||||
SUBST_VARS= GNU_ARCH VERSION
|
||||
GCC_ARCH = ${MACHINE_ARCH}-unknown-openbsd${OSREV}
|
||||
GNU_ARCH = ${GCC_ARCH:S/amd64/x86_64/}
|
||||
SUBST_VARS = GNU_ARCH VERSION
|
||||
|
||||
# need to use fpic version of libgcc.a
|
||||
post-configure:
|
||||
@ -82,16 +80,16 @@ post-configure:
|
||||
|
||||
.ifmake regress
|
||||
# some tests need HOME to be writable
|
||||
PORTHOME= /tmp
|
||||
PORTHOME = /tmp
|
||||
# define some user for tilde expansion test
|
||||
MAKE_ENV+= USER=nobody
|
||||
MAKE_ENV += USER=nobody
|
||||
.endif
|
||||
|
||||
post-regress:
|
||||
@rm -f /tmp/oct-*
|
||||
|
||||
# fix ls-R and install HTML documentation
|
||||
HTMLDOCS= interpreter liboctave
|
||||
HTMLDOCS = interpreter liboctave
|
||||
post-install:
|
||||
@cd ${PREFIX}/share/octave && \
|
||||
perl -pi -e "s,${PREFIX},${TRUEPREFIX}," ls-R
|
||||
|
Loading…
Reference in New Issue
Block a user