aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/bombono/Makefile
blob: 94252323e3a545a178bb306527c58e3fd341b819 (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
# New ports collection makefile for: multimedia/bombono
# Date created:     07 Sep 2009
# Whom:         Stas Timokhin <stast@bsdportal.ru>
#
# $FreeBSD$
#

PORTNAME=   bombono
PORTVERSION=    1.0.1
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   SF/bombono/bombono-dvd/1.0
DISTNAME=   bombono-dvd-${PORTVERSION}

MAINTAINER= pawel@FreeBSD.org
COMMENT=    DVD authoring program

BUILD_DEPENDS=  GraphicsMagick>=1.1.7:${PORTSDIR}/graphics/GraphicsMagick \
        mjpegtools>=1.9.0:${PORTSDIR}/multimedia/mjpegtools
LIB_DEPENDS=    gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
        xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
        lavfile:${PORTSDIR}/multimedia/mjpegtools \
        dvdread:${PORTSDIR}/multimedia/libdvdread \
        avcodec:${PORTSDIR}/multimedia/ffmpeg
RUN_DEPENDS=    GraphicsMagick>=1.1.7:${PORTSDIR}/graphics/GraphicsMagick \
        dvda-author:${PORTSDIR}/audio/dvda-author \
        enca:${PORTSDIR}/converters/enca \
        growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
        toolame:${PORTSDIR}/audio/toolame

USE_BZIP2=  yes
USE_GNOME=  gtk20 libxml2
USE_GCC=    4.2+
USE_SCONS=  yes
USE_GETTEXT=    yes
MAKE_JOBS_SAFE= yes
SCONS_ENV=  CCFLAGS="${CCFLAGS} -I${LOCALBASE}/include" \
        CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LINKFLAGS="${LINKFLAGS}" PKGCONFIGDIR="${PKGCONFIGDIR}" \
        CPPPATH="${CPPPATH}" LIBPATH="${LIBPATH}" PREFIX="${PREFIX}" \
        CC="${CC}" CXX="${CXX}" \
        DVDREAD_LIBPATH=${LOCALBASE}/lib DVDREAD_INCLUDE=${LOCALBASE}/include

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/SConstruct

.include <bsd.port.mk>