2013-08-17 01:53:08 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= octave-forge-netcdf
|
2015-02-24 20:53:18 +01:00
|
|
|
PORTVERSION= 1.0.6
|
2013-08-17 01:53:08 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
|
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
|
|
|
|
2014-01-12 20:19:56 +01:00
|
|
|
LICENSE= GPLv2
|
2014-06-23 02:05:58 +02:00
|
|
|
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
|
2014-01-12 20:19:56 +01:00
|
|
|
|
2013-08-17 01:53:08 +02:00
|
|
|
# OCTSRC is the name of the directory of the package.
|
|
|
|
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
|
|
|
|
OCTSRC= ${OCTAVE_PKGNAME}
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTSRC}/src
|
|
|
|
|
2014-05-03 05:17:19 +02:00
|
|
|
LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
|
2013-08-17 01:53:08 +02:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
|
|
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|