blob: 70583681be9f2f04b29b73eee8b3d5b36c5abe39 (
plain)
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
37
38
39
40
41
42
43
44
|
# $FreeBSD$
PORTNAME= movit
PORTVERSION= 1.4.0
CATEGORIES= graphics
MASTER_SITES= http://${PORTNAME}.sesse.net/
MAINTAINER= avilla@FreeBSD.org
COMMENT= High-performance video filters for the GPU
LICENSE= GPLv2+
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libfftw3.so:math/fftw3
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= autoreconf gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/AC_INIT/ s/git/${PORTVERSION}/' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/^all/ s/$$(TESTS)//' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/features\.h/ d' \
${WRKSRC}/demo.cpp
post-install:
.if ${PORT_OPTIONS:MDOCS}
. for f in ${PORTDOCS}
cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
. endfor
.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.*
.include <bsd.port.mk>
|