freebsd-ports/math/octave-forge-octcdf/Makefile
Stephen Montgomery-Smith 5d85ea86f2 - Update to 1.1.8.
2015-03-13 02:13:27 +00:00

28 lines
695 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-octcdf
PORTVERSION= 1.1.8
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
.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>