2013-04-26 14:35:50 +02:00
|
|
|
# Created by: Lars Engels <lars.engels@0x20.net>
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= devede
|
2016-04-12 17:06:23 +02:00
|
|
|
PORTVERSION= 3.23.0
|
|
|
|
DISTVERSIONPREFIX= v
|
2016-12-11 16:22:47 +01:00
|
|
|
PORTREVISION= 3
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
2016-04-12 17:06:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= Create video DVDs, VCDs, sVCDs, or CVDs from any number of video files
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2016-04-12 17:06:23 +02:00
|
|
|
LICENSE= GPLv3+
|
2015-11-09 13:59:03 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
|
|
|
|
mencoder:multimedia/mencoder \
|
|
|
|
spumux:multimedia/dvdauthor \
|
2016-04-12 17:06:23 +02:00
|
|
|
mplayer:multimedia/mplayer \
|
2016-04-01 16:16:16 +02:00
|
|
|
vcdimager:multimedia/vcdimager \
|
|
|
|
cdrecord:sysutils/cdrtools
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2016-04-12 17:06:23 +02:00
|
|
|
NO_ARCH= yes
|
|
|
|
USES= iconv python
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-04-26 14:35:50 +02:00
|
|
|
OPTIONS_DEFINE= IBUS NLS
|
|
|
|
OPTIONS_DEFAULT= IBUS
|
|
|
|
IBUS_DESC= iBus support
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2015-03-22 00:05:19 +01:00
|
|
|
DEJAVU_FONTSDIR= ${LOCALBASE}/share/fonts/dejavu
|
2009-08-07 18:23:22 +02:00
|
|
|
DEJAVU_FONTFILE= ${DEJAVU_FONTSDIR}/DejaVuSans.ttf
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
IBUS_RUN_DEPENDS= ibus-daemon:textproc/ibus
|
2016-04-12 17:06:23 +02:00
|
|
|
NLS_USES= gettext-runtime:run
|
2014-07-06 17:17:32 +02:00
|
|
|
OPTIONS_SUB= yes
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2016-04-12 17:06:23 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= rastersoft
|
|
|
|
GH_PROJECT= Devede
|
|
|
|
|
|
|
|
USE_GNOME= pygtk2:run
|
|
|
|
USE_PYTHON= run
|
|
|
|
|
2010-04-21 11:49:12 +02:00
|
|
|
PORTDOCS= *
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2009-08-07 18:23:22 +02:00
|
|
|
post-patch:
|
|
|
|
# Fix general locations
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e 's|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
-e 's|%%PORTNAME%%|${PORTNAME}|' \
|
|
|
|
-e 's|%%DATADIR%%|${DATADIR}|' \
|
|
|
|
-e 's|%%DOCSDIR%%|${DOCSDIR}|' \
|
2017-01-21 11:40:37 +01:00
|
|
|
${WRKSRC}/devede
|
2011-12-12 22:04:56 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|bash|sh|' ${WRKSRC}/devede-debug
|
2009-08-07 18:23:22 +02:00
|
|
|
# Fix font location
|
2016-04-12 17:06:23 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|\(font_path,"\).*\("\)|\1${DEJAVU_FONTFILE}\2|' \
|
2009-08-07 18:23:22 +02:00
|
|
|
${WRKSRC}/devede_fonts.py
|
|
|
|
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
do-install:
|
2011-12-12 22:04:56 +01:00
|
|
|
# File locations in devede are a mess...
|
2014-07-06 17:17:32 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/devede.py ${STAGEDIR}${PREFIX}/bin/devede
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/devede-debug ${STAGEDIR}${PREFIX}/bin/
|
2016-04-12 17:06:23 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/devede
|
2016-04-16 14:29:27 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/devede_*.py ${STAGEDIR}${PREFIX}/lib/devede
|
2016-04-12 17:06:23 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/devede.desktop ${STAGEDIR}${DESKTOPDIR}
|
2014-07-06 17:17:32 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/devedesans.ttf ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/devede.svg ${STAGEDIR}${DATADIR}
|
2016-04-12 17:06:23 +02:00
|
|
|
${LN} -sf ${DATADIR}/devede.svg ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
(cd ${WRKSRC}/interface && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
(cd ${WRKSRC}/pixmaps && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
|
|
|
|
post-install-NLS-on:
|
|
|
|
.for i in ca da el es fr gl nl pl pt_BR pt_PT ru sk sv zh_CN zh_TW
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/${i}.mo \
|
|
|
|
${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/devede.mo
|
|
|
|
.endfor
|
|
|
|
.for i in cs_CZ de_DE hu_HU it_IT nb_NO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/${i}.mo \
|
|
|
|
${STAGEDIR}${PREFIX}/share/locale/${i:C/_.*//}/LC_MESSAGES/devede.mo
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-07-06 17:17:32 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html
|
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables
for home players, from any number of video files, in any of the formats
supported by Mplayer. The big advantage over other utilites is that it only
needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and
Python 2.4, PyGTK and PyGlade), so its dependencies are really small.
WWW: http://www.rastersoft.com/programas/devede.html
PR: ports/113945
Submitted by: Lars Engels <lars.engels at 0x20.net>
2007-06-22 15:39:59 +02:00
|
|
|
|
2013-04-26 14:35:50 +02:00
|
|
|
.include <bsd.port.mk>
|