- Add LICENSE

- Switch to options helpers
- Cosmetic fixes
- Fix WWW:
This commit is contained in:
Dmitry Marakasov 2016-11-25 09:31:23 +00:00
parent 2dbcaf0cee
commit faef71983b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427094
2 changed files with 15 additions and 15 deletions

View file

@ -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>

View file

@ -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/