mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cyclone
|
|
DISTVERSION= 0.2~beta2
|
|
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
|
|
|
|
BROKEN= unfetchable
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= pd:audio/pd
|
|
RUN_DEPENDS= pd:audio/pd
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}miXedSon-0.2beta2
|
|
|
|
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 <bsd.port.mk>
|