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

31 lines
704 B
Makefile
Raw Normal View History

# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
# $FreeBSD$
PORTNAME= octave-forge-netcdf
2018-04-18 05:12:36 +02:00
PORTVERSION= 1.0.12
PORTREVISION= 8
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv2
2014-06-23 02:05:58 +02:00
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
2018-04-18 05:12:36 +02:00
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
2018-04-18 05:12:36 +02:00
GNU_CONFIGURE= yes
LIB_DEPENDS+= libnetcdf.so:science/netcdf
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>