6319d51339
The octave-forge project contains functions for Octave which are not in the main distribution. While the main Octave distribution is conservative about accepting new functions and changes, octave-forge is very open. As a result, be prepared for some lower quality code and more rapidly changing interfaces to the functions in octave-forge.
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/08/14 13:29:54 dmcmahill Exp $
|
|
#
|
|
|
|
DISTNAME= octave-forge-2004.07.07
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=octave/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://octave.sourceforge.net/
|
|
COMMENT= Extensions to Octave
|
|
|
|
.if exists(/bin/csplit)
|
|
MAKE_ENV+= CSPLIT=/bin/csplit
|
|
.else
|
|
BUILD_DEPENDS+= coreutils-*:../../sysutils/coreutils
|
|
MAKE_ENV+= CSPLIT=${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}csplit
|
|
.endif
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_BUILDLINK3= YES
|
|
USE_GNU_TOOLS+= make
|
|
USE_X11= YES
|
|
|
|
ALL_TARGET=
|
|
|
|
GCC_REQD= 3.0
|
|
USE_LANGUAGES= c c++ fortran
|
|
|
|
.include "../../math/octave-current/octave.mk"
|
|
|
|
PLIST_SUBST+= OCT_LOCALVERFCNFILEDIR=${OCT_LOCALVERFCNFILEDIR:S/${LOCALBASE}\///}
|
|
PLIST_SUBST+= OCT_LOCALVEROCTFILEDIR=${OCT_LOCALVEROCTFILEDIR:S/${LOCALBASE}\///}
|
|
PLIST_SUBST+= OCT_LOCALVERARCHLIBDIR=${OCT_LOCALVERARCHLIBDIR:S/${LOCALBASE}\///}
|
|
PLIST_SUBST+= OCT_VERSION=${OCT_VERSION}
|
|
|
|
MESSAGE_SUBST+= OCT_LOCALVERFCNFILEDIR=${OCT_LOCALVERFCNFILEDIR}
|
|
MESSAGE_SUBST+= OCT_LOCALVEROCTFILEDIR=${OCT_LOCALVEROCTFILEDIR}
|
|
MESSAGE_SUBST+= OCT_LOCALVERARCHLIBDIR=${OCT_LOCALVERARCHLIBDIR}
|
|
|
|
post-patch:
|
|
${MKDIR} ${WRKSRC}/extra/pdb/scripts
|
|
${MV} ${WRKSRC}/extra/pdb/bin/rasmol.sh ${WRKSRC}/extra/pdb/scripts/rasmol.sh
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../math/gsl/buildlink3.mk"
|
|
.include "../../math/octave-current/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|