# $FreeBSD: head/audio/pd-cyclone/Makefile 412344 2016-04-01 13:29:15Z mat $ PORTNAME= cyclone DISTVERSION= 0.2~beta1 CATEGORIES= audio MASTER_SITES= DEBIAN/pool/main/p/pd-${PORTNAME} PKGNAMEPREFIX= pd- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_${DISTVERSION} EXTRACT_SUFX= .orig.tar.gz MAINTAINER= brittlehaus@gmail.com COMMENT= Pd library of clones of Max/MSP 4.5 objects LICENSE= BSD3CLAUSE BUILD_DEPENDS= pd:audio/pd RUN_DEPENDS= pd:audio/pd WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-0.2beta1 USES= gmake post-patch: @${REINPLACE_CMD} -e 's|Linux|FreeBSD|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|cflags =|cflags = -I${LOCALBASE}/include/pd|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|GNU/kFreeBSD|FreeBSD|g' \ ${WRKSRC}/Makefile.pdlibbuilder @${REINPLACE_CMD} -e 's|/usr/include|/usr/local/include|g' \ ${WRKSRC}/Makefile.pdlibbuilder do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pd-externals/cyclone ${FIND} ${WRKSRC} -name "*.pd" -exec ${INSTALL_DATA} {} \ ${STAGEDIR}${PREFIX}/lib/pd-externals/cyclone \; ${FIND} ${WRKSRC} -name "*.pd_linux" -exec ${INSTALL_PROGRAM} {} \ ${STAGEDIR}${PREFIX}/lib/pd-externals/cyclone \; .include