freebsd-ports/math/octave-forge-audio/Makefile
2021-12-06 21:41:32 -06:00

30 lines
709 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
PORTNAME= octave-forge-audio
PORTVERSION= 2.0.4
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../COPYING
LIB_DEPENDS+= librtmidi.so:audio/rtmidi
USES= compiler:c++11-lang pkgconfig
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GNU_CONFIGURE= yes
.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>