Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/aegisub/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 18 Jul 2011 16:21:25 -0000 1.5 +++ Makefile 8 Sep 2011 03:42:16 -0000 @@ -2,14 +2,14 @@ # Date created: 2nd March 2010 # Whom: Leinier Cruz Salfran # -# $FreeBSD: ports/multimedia/aegisub/Makefile,v 1.5 2011/07/18 16:21:25 jlaffaye Exp $ -# $MCom: ports-stable/multimedia/aegisub/Makefile,v 0.14 2010/03/10 17:02:00 salfrancl Exp $ -# $Id: Makefile,v 0.14 2010/03/10 17:02:00 salfrancl Exp $ +# $FreeBSD$ +# $MCom: ports-stable/multimedia/aegisub/Makefile,v 0.17 2010/03/17 17:09:00 salfrancl Exp $ +# $Id: Makefile,v 0.17 2010/03/17 17:09:00 salfrancl Exp $ # PORTNAME= aegisub PORTVERSION= 2.1.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= http://ftp.aegisub.org/pub/releases/ \ http://ftp2.aegisub.org/pub/releases/ \ @@ -19,94 +19,133 @@ MAINTAINER= salfrancl@yahoo.es COMMENT= Aegisub Project is a cross-platform subtitle editor -BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config \ - intltoolize:${PORTSDIR}/textproc/intltool \ - ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ + fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig -OPTIONS= DEBUG "Enable debug" Off \ - PROFILE "Enable profiling" Off \ - GCOV "Enable GCOV (require profiling)" Off \ - EFENCE "Enable Electric Fence (require profiling)" Off \ - NLS "Enable Native Language Support" On \ - PORTAUDIO "Enable PortAudio2 audio provider (only one)" Off \ - PULSE "Enable PulseAudio audio provider (only one)" On \ - OSS "Enable OSS audio player (require portaudio)" Off \ - FFMPEG "Enable FFMPEG video provider" Off \ - HUNSPELL "Hungarian Spell" On \ - LUA "LUA Scripting" On \ - PERL "Perl Scripting" On - -USE_FREETYPE2= yes +USE_GNOME= pkgconfig intlhack +USE_GMAKE= yes +GNU_CONFIGURE= yes USE_ICONV= yes -USE_WX= 2.8 +USE_WX= 2.8+ WX_COMPS= wx contrib WX_UNICODE= yes -CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} +INSTALLS_ICONS= yes +USE_GL= gl glu -USE_GMAKE= yes -GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include \ -I${LOCALBASE}/lib/wx/include/gtk2-unicode-release-2.8/ \ -I${LOCALBASE}/include/wx-2.8 \ -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} -INSTALLS_ICONS= yes +OPTIONS= DEBUG "Enable debug" Off \ + PROFILE "Enable profiling" Off \ + NLS "Enable Native Language Support" On \ + PORTAUDIO "Enable PortAudio2 audio provider (only one)" Off \ + PULSE "Enable PulseAudio audio provider (only one)" On \ + OSS "Enable OSS audio player (require portaudio)" Off \ + HUNSPELL "Support for hunspell spellchecker" On \ + LUA "LUA Scripting" On \ + PERL "Perl Scripting" On -.include +# Doesn't build +# GCOV "Enable GCOV (require profiling)" Off \ +# EFENCE "Enable Electric Fence (require profiling)" Off \ +# FFMPEG "Enable FFMPEG video provider (broken)" Off \ + +.include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug --enable-debug-exceptions +.else +CONFIGURE_ARGS+= --disable-debug --disable-debug-exceptions .endif -.if defined(WITH_GCOV) -CONFIGURE_ARGS+= --enable-gcov -WITH_PROFILE= yes -.endif -.if defined(WITH_EFENCE) -CONFIGURE_ARGS+= --enable-efence -WITH_PROFILE= yes -.endif + +#.if defined(WITH_GCOV) +#BROKEN= does not build with gcov +#CONFIGURE_ARGS+= --enable-gcov +#WITH_PROFILE= yes +#.else +#CONFIGURE_ARGS+= --disable-gcov +#.endif + +#.if defined(WITH_EFENCE) +#BROKEN= does not build with efence +#CONFIGURE_ARGS+= --enable-efence +#WITH_PROFILE= yes +#LIB_DEPENDS+= efence.0:${PORTSDIR}/devel/ElectricFence +#.else +#CONFIGURE_ARGS+= --disable-efence +#.endif + .if defined(WITH_PROFILE) CONFIGURE_ARGS+= --enable-profile +.else +CONFIGURE_ARGS+= --disable-profile .endif + .if defined(WITHOUT_NLS) CONFIGURE_ARGS+= --without-nls .else USE_GETTEXT= yes .endif + .if defined(WITH_PORTAUDIO) BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/portaudio-2.0.pc:${PORTSDIR}/audio/portaudio2 +.else +CONFIGURE_ARGS+= --without-portaudio .endif + .if defined(WITH_PULSE) BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libpulse.pc:${PORTSDIR}/audio/pulseaudio +.else +CONFIGURE_ARGS+= --without-pulseaudio .endif + .if defined(WITH_OSS) BUILD_DEPENDS+= ossinfo:${PORTSDIR}/audio/oss +.else +CONFIGURE_ARGS+= --without-oss .endif + .if defined(WITH_PULSE) CONFIGURE_ARGS+= --with-player-audio=pulseaudio .else -.if defined(WITH_OSS) +. if defined(WITH_OSS) CONFIGURE_ARGS+= --with-player-audio=portaudio +. endif .endif -.endif -.if !defined(WITHOUT_FFMPEG) -BROKEN= ffmpeg support is broken -BUILD_DEPENDS+= ffmpeg:${PORTSDIR}/multimedia/ffmpeg -CONFIGURE_ARGS+= --with-provider-video=ffmpegsource --with-provider-audio=ffmpegsource -.endif + +#.if defined(WITH_FFMPEG) +#BROKEN= does not build with ffmpeg +#BUILD_DEPENDS+= ffmpeg:${PORTSDIR}/multimedia/ffmpeg +#CONFIGURE_ARGS+= --with-provider-video=ffmpegsource --with-provider-audio=ffmpegsource +#.endif + .if defined(WITH_HUNSPELL) BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/hunspell.pc:${PORTSDIR}/textproc/hunspell +.else +CONFIGURE_ARGS+= --without-hunspell .endif + .if defined(WITH_LUA) USE_LUA= 5.1+ CONFIGURE_ENV+= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LDFLAGS="-L${LUA_LIBDIR} -llua" +PLIST_SUB+= LUA="" +.else +CONFIGURE_ARGS+= --without-lua --without-lua50 +PLIST_SUB+= LUA="@comment " .endif + .if defined(WITH_PERL) -uSE_PERL5= yes +USE_PERL5= yes CONFIGURE_ARGS+= --with-perl +PLIST_SUB+= PERL="" +.else +CONFIGURE_ARGS+= --without-perl +PLIST_SUB+= PERL="@comment " .endif -.include +.include Index: distinfo =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/aegisub/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 3 Jul 2011 13:38:18 -0000 1.2 +++ distinfo 6 Sep 2011 19:27:16 -0000 @@ -1,2 +1,3 @@ +MD5 (aegisub-2.1.8.tar.gz) = 04438f9c237618d225d3654cded3d4bb SHA256 (aegisub-2.1.8.tar.gz) = a67356e5c4fa376738d363f1cf5e50aa74e6b69e76a089ed0442bf6d7390d769 SIZE (aegisub-2.1.8.tar.gz) = 2431099 Index: pkg-plist =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/aegisub/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 11 Mar 2010 08:56:05 -0000 1.1 +++ pkg-plist 7 Sep 2011 04:31:12 -0000 @@ -1,35 +1,35 @@ bin/aegisub-2.1 -%%DATADIR%%/2.1/automation/autoload/cleantags-autoload.lua -%%DATADIR%%/2.1/automation/autoload/kara-templater.lua -%%DATADIR%%/2.1/automation/autoload/karaoke-auto-leadin.lua -%%DATADIR%%/2.1/automation/autoload/macro-1-edgeblur.lua -%%DATADIR%%/2.1/automation/autoload/macro-1p-edgeblur.pl -%%DATADIR%%/2.1/automation/autoload/macro-2-mkfullwitdh.lua +%%LUA%%%%DATADIR%%/2.1/automation/autoload/cleantags-autoload.lua +%%LUA%%%%DATADIR%%/2.1/automation/autoload/kara-templater.lua +%%LUA%%%%DATADIR%%/2.1/automation/autoload/karaoke-auto-leadin.lua +%%LUA%%%%DATADIR%%/2.1/automation/autoload/macro-1-edgeblur.lua +%%PERL%%%%DATADIR%%/2.1/automation/autoload/macro-1p-edgeblur.pl +%%LUA%%%%DATADIR%%/2.1/automation/autoload/macro-2-mkfullwitdh.lua %%DATADIR%%/2.1/automation/include/Aegisub.pm -%%DATADIR%%/2.1/automation/include/Aegisub/PerlConsole.pm +%%PERL%%%%DATADIR%%/2.1/automation/include/Aegisub/PerlConsole.pm %%DATADIR%%/2.1/automation/include/Aegisub/Progress.pm %%DATADIR%%/2.1/automation/include/Aegisub/Script.pm %%DATADIR%%/2.1/automation/include/Auto4Utils.pm -%%DATADIR%%/2.1/automation/include/cleantags.lua -%%DATADIR%%/2.1/automation/include/karaskel-adv.lua -%%DATADIR%%/2.1/automation/include/karaskel-auto4.lua -%%DATADIR%%/2.1/automation/include/karaskel-base.lua -%%DATADIR%%/2.1/automation/include/karaskel.lua -%%DATADIR%%/2.1/automation/include/unicode.lua -%%DATADIR%%/2.1/automation/include/utils-auto4.lua -%%DATADIR%%/2.1/automation/include/utils.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/cleantags.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/karaskel-adv.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/karaskel-auto4.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/karaskel-base.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/karaskel.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/unicode.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/utils-auto4.lua +%%LUA%%%%DATADIR%%/2.1/automation/include/utils.lua share/applications/aegisub.desktop %%DOCSDIR%%/2.1/automation3.txt -%%DOCSDIR%%/2.1/demos/future-windy-blur.lua -%%DOCSDIR%%/2.1/demos/perl-console.pl +%%LUA%%%%DOCSDIR%%/2.1/demos/future-windy-blur.lua +%%PERL%%%%DOCSDIR%%/2.1/demos/perl-console.pl %%DOCSDIR%%/2.1/demos/raytracer-test1.ass -%%DOCSDIR%%/2.1/demos/raytracer.lua +%%LUA%%%%DOCSDIR%%/2.1/demos/raytracer.lua %%DOCSDIR%%/2.1/v4-docs/basic-function-interface.txt %%DOCSDIR%%/2.1/v4-docs/configuration-dialogs.txt %%DOCSDIR%%/2.1/v4-docs/file-streams.txt %%DOCSDIR%%/2.1/v4-docs/misc.txt %%DOCSDIR%%/2.1/v4-docs/overview.txt -%%DOCSDIR%%/2.1/v4-docs/perl-api.txt +%%PERL%%%%DOCSDIR%%/2.1/v4-docs/perl-api.txt %%DOCSDIR%%/2.1/v4-docs/progress-reporting.txt %%DOCSDIR%%/2.1/v4-docs/subtitle-data.txt %%DOCSDIR%%/2.1/v4-docs/template-scripting-ideas.ass @@ -57,16 +57,28 @@ share/locale/vi/LC_MESSAGES/aegisub21.mo share/locale/zh_CN/LC_MESSAGES/aegisub21.mo share/locale/zh_TW/LC_MESSAGES/aegisub21.mo -@dirrmtry share/applications +@dirrmtry share/icons/hicolor/64x64/apps +@dirrmtry share/icons/hicolor/64x64 +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor/24x24/apps +@dirrmtry share/icons/hicolor/24x24 +@dirrmtry share/icons/hicolor/22x22/apps +@dirrmtry share/icons/hicolor/22x22 +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/16x16 @dirrmtry share/icons/hicolor -@dirrmtry share/locale -@dirrmtry %%DATADIR%%/2.1/automation/autoload -@dirrmtry %%DATADIR%%/2.1/automation/include/Aegisub -@dirrmtry %%DATADIR%%/2.1/automation/include -@dirrmtry %%DATADIR%%/2.1/automation -@dirrmtry %%DATADIR%%/2.1 -@dirrmtry %%DATADIR%% -@dirrmtry %%DOCSDIR%%/2.1/demos -@dirrmtry %%DOCSDIR%%/2.1/v4-docs -@dirrmtry %%DOCSDIR%%/2.1 -@dirrmtry %%DOCSDIR%% +@dirrmtry share/icons +@dirrm %%DOCSDIR%%/2.1/v4-docs +@dirrm %%DOCSDIR%%/2.1/demos +@dirrm %%DOCSDIR%%/2.1 +@dirrm %%DOCSDIR%% +@dirrmtry share/applications +@dirrm %%DATADIR%%/2.1/automation/include/Aegisub +@dirrm %%DATADIR%%/2.1/automation/include +@dirrm %%DATADIR%%/2.1/automation/autoload +@dirrm %%DATADIR%%/2.1/automation +@dirrm %%DATADIR%%/2.1 +@dirrm %%DATADIR%%