freebsd-ports/math/octave-forge-ltfat/Makefile
Baptiste Daroussin ffb7170399 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-14 18:42:04 +00:00

34 lines
881 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
# $FreeBSD$
PORTNAME= octave-forge-ltfat
PORTVERSION= 1.4.4
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
libportaudio.so:${PORTSDIR}/audio/portaudio2 \
libcblas.so:${PORTSDIR}/math/cblas
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
MAKEFILE= Makefile_unix
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
${RM} -f ${WRKSRC}/../inst/DESCRIPTION
${RM} -f ${WRKSRC}/../inst/ltfat/DESCRIPTION
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>