2018-05-02 01:51:34 +02:00
|
|
|
PORTNAME= openfx-misc
|
2022-07-22 03:23:19 +02:00
|
|
|
PORTVERSION= 2.4.3
|
|
|
|
DISTVERSIONPREFIX= Natron-
|
2018-05-02 01:51:34 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
|
|
|
COMMENT= Miscellaneous OpenFX Effects plugins
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/devernay/openfx-misc
|
2018-05-02 01:51:34 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2021-10-31 12:13:04 +01:00
|
|
|
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
|
2018-05-02 01:51:34 +02:00
|
|
|
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= gl gmake
|
2021-08-29 18:28:32 +02:00
|
|
|
USE_GL= gl
|
2018-05-02 01:51:34 +02:00
|
|
|
USE_GITHUB= yes
|
2018-06-06 20:37:21 +02:00
|
|
|
GH_ACCOUNT= NatronGitHub
|
2022-07-22 03:23:19 +02:00
|
|
|
GH_TUPLE= NatronGitHub:openfx-supportext:79d8c22:openfx_supportext/SupportExt \
|
|
|
|
NatronGitHub:openfx:d5db5d0:openfx/openfx \
|
|
|
|
dtschump:CImg:b33dcc8f9f1acf1f276ded92c04f8231f6c23fcd:CImg
|
|
|
|
|
2018-05-02 01:51:34 +02:00
|
|
|
MAKE_ENV+= CONFIG=release
|
|
|
|
|
2022-07-22 03:23:19 +02:00
|
|
|
post-extract:
|
|
|
|
${CP} ${WRKSRC_CImg}/CImg.h ${WRKSRC}/CImg/CImg.h
|
|
|
|
${CP} ${WRKSRC_CImg}/plugins/inpaint.h ${WRKSRC}/CImg/Inpaint/inpaint.h
|
2018-05-02 01:51:34 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/OFX/Plugins|${PREFIX}/OFX/Plugins|g' \
|
|
|
|
${WRKSRC}/openfx/Examples/Makefile.master \
|
|
|
|
${WRKSRC}/openfx/Support/Plugins/Makefile.master \
|
|
|
|
${WRKSRC}/DebugProxy/DebugProxy.cpp \
|
|
|
|
${WRKSRC}/openfx/HostSupport/src/ofxhPluginCache.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|/Contents/$$(ARCH)|/Contents/FreeBSD-x86-64/|g' \
|
|
|
|
${WRKSRC}/openfx/Support/Plugins/Makefile.master
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/CImg.ofx.bundle/Contents/FreeBSD-x86-64/CImg.ofx
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Misc.ofx.bundle/Contents/FreeBSD-x86-64/Misc.ofx
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Shadertoy.ofx.bundle/Contents/FreeBSD-x86-64/Shadertoy.ofx
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|