9fb18ad18c
RTMIDI is compiled with new GCC and thus this port needs new GCC as well: checking for RTMIDI... no
31 lines
721 B
Makefile
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>
|