33 lines
846 B
Makefile
33 lines
846 B
Makefile
# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= octave-forge-ncarray
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
RUN_DEPENDS+= ${TARBALLS_DIR}/netcdf.tar.gz:${PORTSDIR}/math/octave-forge-netcdf
|
|
RUN_DEPENDS+= ${TARBALLS_DIR}/statistics.tar.gz:${PORTSDIR}/math/octave-forge-statistics
|
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
do-build:
|
|
@${DO_NADA}
|
|
|
|
post-build:
|
|
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
|
|
|
.include <bsd.port.mk>
|