Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= bombono |
4 |
PORTNAME= bombono |
5 |
PORTVERSION= 1.2.2 |
5 |
PORTVERSION= 1.2.2 |
6 |
PORTREVISION= 6 |
6 |
PORTREVISION= 7 |
7 |
CATEGORIES= multimedia |
7 |
CATEGORIES= multimedia |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dvd/${PORTVERSION:R} |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dvd/${PORTVERSION:R} |
9 |
DISTNAME= ${PORTNAME}-dvd-${PORTVERSION} |
9 |
DISTNAME= ${PORTNAME}-dvd-${PORTVERSION} |
Lines 11-47
Link Here
|
11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= DVD authoring program |
12 |
COMMENT= DVD authoring program |
13 |
|
13 |
|
|
|
14 |
LICENSE= GPLv2+ |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
14 |
BUILD_DEPENDS= gm:${PORTSDIR}/graphics/GraphicsMagick |
17 |
BUILD_DEPENDS= gm:${PORTSDIR}/graphics/GraphicsMagick |
15 |
LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ |
18 |
LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ |
16 |
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \ |
|
|
17 |
liblavfile.so:${PORTSDIR}/multimedia/mjpegtools \ |
18 |
libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ |
19 |
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ |
19 |
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ |
20 |
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs |
20 |
libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ |
21 |
RUN_DEPENDS= gm:${PORTSDIR}/graphics/GraphicsMagick \ |
21 |
liblavfile.so:${PORTSDIR}/multimedia/mjpegtools \ |
|
|
22 |
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 |
23 |
RUN_DEPENDS= toolame:${PORTSDIR}/audio/toolame \ |
22 |
enca:${PORTSDIR}/converters/enca \ |
24 |
enca:${PORTSDIR}/converters/enca \ |
23 |
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \ |
25 |
gm:${PORTSDIR}/graphics/GraphicsMagick \ |
24 |
toolame:${PORTSDIR}/audio/toolame |
26 |
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools |
25 |
|
27 |
|
26 |
USES= gettext pkgconfig scons tar:bzip2 |
28 |
USES= desktop-file-utils gettext pkgconfig scons shared-mime-info \ |
27 |
USE_GCC= any |
29 |
tar:bzip2 |
|
|
30 |
USE_GNOME= gtkmm24 |
31 |
MAKE_ARGS= DVDREAD_INCLUDE="${LOCALBASE}/include" \ |
32 |
DVDREAD_LIBPATH="${LOCALBASE}/lib" \ |
33 |
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ |
34 |
CC="${CC}" CXX="${CXX}" USE_EXT_BOOST=true |
28 |
INSTALLS_ICONS= yes |
35 |
INSTALLS_ICONS= yes |
29 |
|
36 |
|
30 |
CXXFLAGS+= -I${LOCALBASE}/include |
37 |
CXXFLAGS+= -I${LOCALBASE}/include |
31 |
LDFLAGS+= -L${LOCALBASE}/lib -lintl |
38 |
LDFLAGS+= -L${LOCALBASE}/lib -lintl |
32 |
MAKE_ARGS= DVDREAD_INCLUDE=${LOCALBASE}/include \ |
|
|
33 |
DVDREAD_LIBPATH=${LOCALBASE}/lib \ |
34 |
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ |
35 |
CC="${CC}" CXX="${CXX}" USE_EXT_BOOST=true |
36 |
|
39 |
|
37 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.options.mk> |
38 |
|
41 |
|
39 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000023 |
42 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000023 |
40 |
BROKEN= does not build on 10.x+ |
43 |
USES+= compiler:gcc-c++11-lib |
41 |
.endif |
44 |
.endif |
42 |
|
45 |
|
43 |
post-install: |
46 |
post-install: |
44 |
cd ${WRKSRC}/docs/man/man1 && ${INSTALL_MAN} bombono-dvd.1 \ |
47 |
.for i in bombono-dvd mpeg2demux |
45 |
mpeg2demux.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
48 |
(cd ${WRKSRC}/docs/man/man1 && ${INSTALL_MAN} ${i}.1 \ |
|
|
49 |
${STAGEDIR}${MANPREFIX}/man/man1) |
50 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} |
51 |
.endfor |
46 |
|
52 |
|
47 |
.include <bsd.port.post.mk> |
53 |
.include <bsd.port.mk> |