summaryrefslogtreecommitdiff
path: root/multimedia/mythtv
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-25 09:31:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-25 09:31:23 +0000
commitfaef71983b8dc9f11c5346431b35c7ffffe8517a (patch)
treed18d7e8a007b8cff5ce1427dafabc520f76de830 /multimedia/mythtv
parent- Add LICENSE (diff)
- Add LICENSE
- Switch to options helpers - Cosmetic fixes - Fix WWW:
Notes
Notes: svn path=/head/; revision=427094
Diffstat (limited to 'multimedia/mythtv')
-rw-r--r--multimedia/mythtv/Makefile28
-rw-r--r--multimedia/mythtv/pkg-descr2
2 files changed, 15 insertions, 15 deletions
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 <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>
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/