From faef71983b8dc9f11c5346431b35c7ffffe8517a Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Nov 2016 09:31:23 +0000 Subject: - Add LICENSE - Switch to options helpers - Cosmetic fixes - Fix WWW: --- multimedia/mythtv/Makefile | 28 ++++++++++++++-------------- multimedia/mythtv/pkg-descr | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'multimedia/mythtv') diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index b87bfdc288e0..7d83b0a823d4 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -9,6 +9,9 @@ CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= MythTV is a homebrew PVR project +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libmp3lame.so:audio/lame \ libfreetype.so:print/freetype2 \ libtag.so:audio/taglib \ @@ -72,6 +75,7 @@ VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau OPENGL_CONFIGURE_ENABLE= opengl-video +OPENGL_USE= QT4=opengl .include @@ -105,22 +109,18 @@ RUN_DEPENDS+= py*-lxml>=0:devel/py-lxml \ CONFIGURE_ARGS+=--without-bindings=perl,python .endif -.if ${PORT_OPTIONS:MOPENGL} -USE_QT4+= opengl -.endif - post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - ${WRKSRC}/configure \ - ${WRKSRC}/libs/libmythtv/libmythtv.pro \ - ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ - ${WRKSRC}/programs/mythtranscode/replex/Makefile.standalone \ - ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ - ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ - ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/configure \ + ${WRKSRC}/libs/libmythtv/libmythtv.pro \ + ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ + ${WRKSRC}/programs/mythtranscode/replex/Makefile.standalone \ + ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ + ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ + ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze post-install: - @${INSTALL} -d ${STAGEDIR}${PREFIX}/share/mythtv/database - @${CP} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database + @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database + @${CP} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database .include diff --git a/multimedia/mythtv/pkg-descr b/multimedia/mythtv/pkg-descr index 4744392cc124..b8663088b130 100644 --- a/multimedia/mythtv/pkg-descr +++ b/multimedia/mythtv/pkg-descr @@ -10,4 +10,4 @@ http://usleepless.110mb.com/pvrxxx_port-10042007.tgz. Problems have been reported with this port; if you use it, you should join the FreeBSD-multimedia mailing list and report where appropriate. -WWW: http://www.mythtv.org +WWW: http://www.mythtv.org/ -- cgit v1.2.3