freebsd-ports/math/octave-forge-nurbs/Makefile

37 lines
821 B
Makefile
Raw Normal View History

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-nurbs
2017-06-20 05:39:59 +02:00
PORTVERSION= 1.3.13
PORTREVISION= 10
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
2014-01-12 20:52:20 +01:00
LICENSE= GPLv3
2014-06-23 02:05:58 +02:00
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
2014-01-12 20:52:20 +01:00
USES= compiler:openmp
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
2017-06-20 05:39:59 +02:00
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.pre.mk>
# Force newer GCC on platforms using GCC 4.2 as base
.if ${CHOSEN_COMPILER_TYPE} == gcc
USE_GCC= yes
.endif
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk>