svn commit: r427094 - head/multimedia/mythtv
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Nov 25 09:31:25 UTC 2016
Author: amdmi3
Date: Fri Nov 25 09:31:23 2016
New Revision: 427094
URL: https://svnweb.freebsd.org/changeset/ports/427094
Log:
- Add LICENSE
- Switch to options helpers
- Cosmetic fixes
- Fix WWW:
Modified:
head/multimedia/mythtv/Makefile
head/multimedia/mythtv/pkg-descr
Modified: head/multimedia/mythtv/Makefile
==============================================================================
--- head/multimedia/mythtv/Makefile Fri Nov 25 09:31:21 2016 (r427093)
+++ head/multimedia/mythtv/Makefile Fri Nov 25 09:31:23 2016 (r427094)
@@ -9,6 +9,9 @@ CATEGORIES= multimedia
MAINTAINER= ports at 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:multimedi
VDPAU_CONFIGURE_ENABLE= vdpau
OPENGL_CONFIGURE_ENABLE= opengl-video
+OPENGL_USE= QT4=opengl
.include <bsd.port.options.mk>
@@ -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 <bsd.port.mk>
Modified: head/multimedia/mythtv/pkg-descr
==============================================================================
--- head/multimedia/mythtv/pkg-descr Fri Nov 25 09:31:21 2016 (r427093)
+++ head/multimedia/mythtv/pkg-descr Fri Nov 25 09:31:23 2016 (r427094)
@@ -10,4 +10,4 @@ http://usleepless.110mb.com/pvrxxx_port-
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/
More information about the svn-ports-all
mailing list