freebsd-ports/math/octave-forge-audio/Makefile
Piotr Kubaj 9fb18ad18c math/octave-forge-audio: fix build on GCC architectures
RTMIDI is compiled with new GCC and thus this port needs new GCC as well:
checking for RTMIDI... no
2020-01-23 13:09:37 +00:00

31 lines
721 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-audio
PORTVERSION= 2.0.0
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>