aboutsummaryrefslogtreecommitdiff
path: root/multimedia/opencinematools/Makefile
blob: 63916f3a9e1da3527b516ca55517525fd878dcea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $FreeBSD$

PORTNAME=	opencinematools
PORTVERSION=	1.1.2
PORTREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	GOOGLE_CODE
DISTVERSIONSUFFIX=	-src

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Tools for creating multi-reel DCPs from MXF source material

BROKEN=		Unfetchable (google code has gone away)

LIB_DEPENDS=	libopenjpeg.so:graphics/openjpeg15 \
		libexpat.so:textproc/expat2 \
		libasdcp.so:multimedia/asdcplib

USES=		dos2unix zip

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC=	${WRKSRC}/build/unix

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAKE_ARGS=	CC="${CXX}" CFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"

PLIST_FILES=	bin/mkcpl bin/mkpkl bin/mkmap

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/mkcpl ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/mkpkl ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/mkmap ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>