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
|
|
|
# New ports collection makefile for: devede
|
|
|
|
# Date created: 2007-06-20
|
|
|
|
# Whom: Lars Engels <lars.engels@0x20.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= devede
|
2009-08-07 18:23:22 +02:00
|
|
|
DISTVERSION= 3.14.0
|
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
|
|
|
|
MASTER_SITES= http://www.rastersoft.com/descargas/ \
|
|
|
|
http://www.bsd-geek.de/FreeBSD/distfiles/
|
|
|
|
|
2007-07-12 20:52:00 +02:00
|
|
|
MAINTAINER= lme@FreeBSD.org
|
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
|
|
|
COMMENT= Create video DVDs, VCDs, sVCDs or CVDs from any number of video files
|
|
|
|
|
2007-08-12 10:46:45 +02:00
|
|
|
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder \
|
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
|
|
|
spumux:${PORTSDIR}/multimedia/dvdauthor \
|
2009-08-07 18:23:22 +02:00
|
|
|
vcdimager:${PORTSDIR}/multimedia/vcdimager
|
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
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2009-08-07 18:23:22 +02:00
|
|
|
USE_GNOME= pygtk2
|
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
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_CDRTOOLS= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2009-08-07 18:23:22 +02:00
|
|
|
OPTIONS= PSYCO "Enable devel/py-psyco optimization support" off
|
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-04-06 19:13:38 +02:00
|
|
|
# Strip last character not present in distribution.
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/b//}
|
|
|
|
|
2009-08-07 18:23:22 +02:00
|
|
|
DEJAVU_FONTSDIR= ${LOCALBASE}/lib/X11/fonts/dejavu
|
|
|
|
DEJAVU_FONTFILE= ${DEJAVU_FONTSDIR}/DejaVuSans.ttf
|
|
|
|
|
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
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-08-07 18:23:22 +02:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
.undef WITH_PSYCO
|
|
|
|
|
|
|
|
WITHOUT_PSYCO= yes
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PORTDOCS= docs/*
|
|
|
|
|
2009-08-07 18:23:22 +02:00
|
|
|
DEVEDE_INTERFACE= aboutdialog1.ui add_subtitle.ui add_subtitle2.ui \
|
|
|
|
codepages.lst languages.lst waborted_dialog.ui \
|
|
|
|
wcancel_dialog.ui wcancel_job_dialog.ui \
|
|
|
|
wdel_chapter_dialog.ui wdel_subtitle.ui \
|
|
|
|
wdel_title_dialog.ui wdisk_type.ui \
|
|
|
|
wempty_titles_dialog.ui wend_dialog.ui \
|
|
|
|
werase_dialog.ui werror_dialog.ui wfile.ui \
|
|
|
|
wfolder_dialog.ui wfolder_exists.ui \
|
|
|
|
wloadconfig.ui wloosecurrent.ui wmain.ui \
|
|
|
|
wmenu_preview_ntsc.ui wmenu_preview_pal.ui \
|
|
|
|
wmenu_properties.ui wnofonts.ui wpreview_dialog.ui \
|
|
|
|
wpreviewagain_dialog.ui wprograms.ui \
|
|
|
|
wprogress.ui wsaveconfig.ui \
|
|
|
|
wtitle_properties_dialog.ui wwarning_dialog.ui
|
2009-04-06 19:13:38 +02:00
|
|
|
DEVEDE_LIBS= devede_bincue.py devede_convert.py devede_delete.py \
|
|
|
|
devede_dialogs.py devede_disctype.py devede_dvd.py \
|
|
|
|
devede_dvdmenu.py devede_executor.py devede_fonts.py \
|
|
|
|
devede_help.py devede_loadsave.py devede_main.py \
|
|
|
|
devede_newfiles.py devede_other.py devede_subtitles.py \
|
|
|
|
devede_title_properties.py devede_video_convert.py \
|
|
|
|
devede_xml_menu.py
|
|
|
|
DEVEDE_PIXMAPS= background.png barras.png base_ntsc.mpg base_ntsc_wide.mpg \
|
|
|
|
base_pal.mpg base_pal_wide.mpg estira.png icon_cvd.png \
|
|
|
|
icon_divx.png icon_dvd.png icon_svcd.png icon_vcd.png \
|
|
|
|
silence.mp3
|
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
|
|
|
|
|
|
|
.if defined(WITH_PSYCO)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
2009-08-07 18:23:22 +02:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-psyco-patch-devede.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
|
|
|
.endif
|
|
|
|
|
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}|' \
|
|
|
|
${WRKSRC}/devede.py
|
|
|
|
# Fix font location
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e 's,/usr/share/fonts/truetype/ttf-dejavu/(DejaVuSans|dejavusans).ttf,${DEJAVU_FONTFILE},g' \
|
|
|
|
${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:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/devede.py ${PREFIX}/bin/devede
|
2009-04-06 19:13:38 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/devede.svg ${DATADIR}
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/devedesans.ttf ${DATADIR}
|
2009-04-06 19:13:38 +02:00
|
|
|
.for pixmap in ${DEVEDE_PIXMAPS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/${pixmap} ${DATADIR}
|
2009-08-07 18:23:22 +02:00
|
|
|
.endfor
|
|
|
|
.for interface in ${DEVEDE_INTERFACE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/interface/${interface} ${DATADIR}
|
2009-04-06 19:13:38 +02:00
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${DESKTOPDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/devede.desktop ${DESKTOPDIR}
|
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
|
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
|
|
.for lib in ${DEVEDE_LIBS}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${lib} ${PREFIX}/lib/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
.if !defined(WITHOUT_NLS)
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/ca.mo ${PREFIX}/share/locale/ca/LC_MESSAGES/devede.mo
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/cs_CZ.mo ${PREFIX}/share/locale/cs/LC_MESSAGES/devede.mo
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/da.mo ${PREFIX}/share/locale/da/LC_MESSAGES/devede.mo
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/de_DE.mo ${PREFIX}/share/locale/de/LC_MESSAGES/devede.mo
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/el.mo ${PREFIX}/share/locale/el/LC_MESSAGES/devede.mo
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/es.mo ${PREFIX}/share/locale/es/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/fr.mo ${PREFIX}/share/locale/fr/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/gl.mo ${PREFIX}/share/locale/gl/LC_MESSAGES/devede.mo
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/it_IT.mo ${PREFIX}/share/locale/it/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/nb_NO.mo ${PREFIX}/share/locale/nb/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/nl.mo ${PREFIX}/share/locale/nl/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/pl.mo ${PREFIX}/share/locale/pl/LC_MESSAGES/devede.mo
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/pt_BR.mo ${PREFIX}/share/locale/pt_BR/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/pt_PT.mo ${PREFIX}/share/locale/pt_PT/LC_MESSAGES/devede.mo
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/ru.mo ${PREFIX}/share/locale/ru/LC_MESSAGES/devede.mo
|
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
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/sk.mo ${PREFIX}/share/locale/sk/LC_MESSAGES/devede.mo
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/sv.mo ${PREFIX}/share/locale/sv/LC_MESSAGES/devede.mo
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/zh_TW.mo ${PREFIX}/share/locale/zh_TW/LC_MESSAGES/devede.mo
|
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
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}/html
|
2009-04-06 19:13:38 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/html/* ${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
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|