pkgsrc-wip/openaxiom/Makefile
2010-01-12 12:39:58 +00:00

59 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2010/01/12 12:39:58 asau Exp $
#
DISTNAME= open-axiom-1.3.0
PKGNAME= openaxiom-1.3.99 # VCS-based
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-axiom/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.open-axiom.org/
# http://open-axiom.sourceforge.net/index.html
COMMENT= Platform for symbolic, algebraic, and numerical computations
# Get it from Subversion repository:
SVN_REPOSITORIES= open-axiom
SVN_ROOT.open-axiom= http://open-axiom.svn.sf.net/svnroot/open-axiom/trunk
SVN_MODULE.open-axiom= open-axiom
WRKSRC= ${WRKDIR}/open-axiom
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake makeinfo awk:run
USE_LANGUAGES+= fortran
BUILD_DEPENDS+= noweb-[0-9]*:../../devel/noweb
BUILD_MAKE_FLAGS+= TOOLS_PLATFORM.install=${TOOLS_PLATFORM.install:Q}
CONFIGURE_ENV+= HOST_AWK=$(TOOLS_PATH.awk) # force it
.include "options.mk"
# Fix version string
SUBST_CLASSES+= version-string
SUBST_STAGE.version-string= post-patch
SUBST_MESSAGE.version-string= Fixing version string
SUBST_FILES.version-string= configure.ac.pamphlet
SUBST_SED.version-string= -e '/^AC_INIT(/s:[0-9.-]\{1,\}:${PKGVERSION_NOREV}:'
SUBST_CLASSES+= version-string-2
SUBST_STAGE.version-string-2= post-patch
SUBST_MESSAGE.version-string-2= Fixing version string
SUBST_FILES.version-string-2= configure
SUBST_SED.version-string-2= -e '/^PACKAGE_VERSION=/s:[0-9.-]\{1,\}:${PKGVERSION_NOREV}:'
# PACKAGE_VERSION='1.3.0-2008-10-16'
# PACKAGE_STRING='OpenAxiom 1.3.0-2008-10-16'
pre-configure:
${RUN} cd ${WRKSRC} && ./build-setup.sh
# Skip these checks for now:
CHECK_WRKREF_SKIP= lib/*/hypertex lib/*/viewAlone lib/*/view2D lib/*/view3D lib/*/viewman
.include "../mk/svn-package.mk"
.include "../../mk/bsd.pkg.mk"