blob: d3605bb4a77e549e79a0c0c029098630113b3b2f (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= xvidcap
PORTVERSION= 1.1.7
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= sysutils multimedia
MASTER_SITES= SF
MAINTAINER= thierry@FreeBSD.org
COMMENT= Capture your X display to individual frames or MPEG video
LICENSE= GPLv3
BUILD_DEPENDS= xml2po:textproc/gnome-doc-utils \
scrollkeeper-config:textproc/scrollkeeper
LIB_DEPENDS= libswscale.so:multimedia/ffmpeg \
libdbus-glib-1.so:devel/dbus-glib \
libmp3lame.so:audio/lame
RUN_DEPENDS= animate:graphics/ImageMagick \
gimp:graphics/gimp-app
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
# --export-dynamic fixes libglade problems
LDFLAGS+= -L${LOCALBASE}/lib -Wl,--export-dynamic
USE_GNOME= glib20 libglade2 intltool
USES= gettext gmake pkgconfig
USE_XORG= x11 xmu ice xfixes xdamage
INSTALLS_OMF= yes
MANLANG= "" de es it
.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
CFLAGS+= -O2 -fno-strict-aliasing
.endif
PORTDOCS= AUTHORS ChangeLog README
NULLDOCS= COPYING
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \
${WRKSRC}/Makefile.in
.endif
${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh
@${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \
${WRKSRC}/src/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
${RM} ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|}
.endif
.include <bsd.port.mk>
|