1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/openfx-misc/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

44 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= openfx-misc
PORTVERSION= 2.3.14
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= olivier@FreeBSD.org
COMMENT= Miscellaneous OpenFX Effects plugins
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= NatronGitHub
GH_PROJECT= openfx-misc
GH_TAGNAME= 3ab0531
GH_TUPLE= NatronGitHub:openfx-supportext:e600cae:openfx_supportext/SupportExt \
NatronGitHub:openfx:a85dc34:openfx/openfx
MAKE_ENV+= CONFIG=release
USE_GL= gl
pre-patch:
@${RM} ${WRKSRC}/CImg/CImg.h.orig
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>