aboutsummaryrefslogblamecommitdiff
path: root/graphics/vapoursynth-fmtconv/Makefile
blob: ad448b7591b5dd92f601ae2a1dd743498eff187a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                       
                   



                                  
                                                                    


                     

                                                              


                            
                                                           



                                     


                                              
                                 

                 

                    


                                                  





                                                      
PORTNAME=	fmtconv
PORTVERSION=	r25
CATEGORIES=	graphics
PKGNAMEPREFIX=	vapoursynth-

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Format conversion tools for Vapoursynth and Avisyth+

LICENSE=	WTFPL

BROKEN_powerpc64=	fails to compile on powerpc64: \#error

USE_GITHUB=	yes
GH_ACCOUNT=	EleonoreMizo

USES=		autoreconf compiler:c++11-lib gmake libtool
WRKSRC_SUBDIR=	build/unix
PATCH_WRKSRC=	${WRKSRC:H:H}
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--libdir="${DATADIR}"
INSTALL_TARGET=	install-strip
DATADIR=	${PREFIX}/lib/vapoursynth
DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}
PORTDATA=	lib${PORTNAME}.so
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
		${WRKSRC}/configure.ac

post-install:
	(cd ${PATCH_WRKSRC}/doc && ${COPYTREE_SHARE} \
		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>