blob: d0a9ac9706d4fe043a45004a6a708c2584ac544b (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$
PORTNAME= bombono
PORTVERSION= 1.2.2
PORTREVISION= 19
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dvd/${PORTVERSION:R}
DISTNAME= ${PORTNAME}-dvd-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= DVD authoring program
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gm:graphics/GraphicsMagick
LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 \
liblavfile.so:multimedia/mjpegtools \
libdvdread.so:multimedia/libdvdread \
libavcodec.so:multimedia/ffmpeg \
libboost_filesystem.so:devel/boost-libs
RUN_DEPENDS= gm:graphics/GraphicsMagick \
enca:converters/enca \
growisofs:sysutils/dvd+rw-tools \
toolame:audio/toolame
BROKEN= fails to compile: weakref.h: macro "static_assert" passed 3 arguments, but takes just 2
USES= desktop-file-utils gettext pkgconfig scons shared-mime-info \
tar:bzip2
USE_CXXSTD= gnu++98
USE_GNOME= gtkmm24
INSTALLS_ICONS= yes
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
MAKE_ARGS= DVDREAD_INCLUDE=${LOCALBASE}/include \
DVDREAD_LIBPATH=${LOCALBASE}/lib \
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
CC="${CC}" CXX="${CXX}" USE_EXT_BOOST=true
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000023
USES+= compiler:gcc-c++11-lib
.endif
post-install:
.for i in bombono-dvd mpeg2demux
${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
.endfor
.include <bsd.port.mk>
|