diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-11-25 09:31:23 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-11-25 09:31:23 +0000 |
commit | faef71983b8dc9f11c5346431b35c7ffffe8517a (patch) | |
tree | d18d7e8a007b8cff5ce1427dafabc520f76de830 /multimedia/mythtv/Makefile | |
parent | 2dbcaf0ceea2570d8dd4a372fa6d93d0d8db4b9f (diff) | |
download | ports-faef71983b8dc9f11c5346431b35c7ffffe8517a.tar.gz ports-faef71983b8dc9f11c5346431b35c7ffffe8517a.zip |
- Add LICENSE
- Switch to options helpers
- Cosmetic fixes
- Fix WWW:
Notes
Notes:
svn path=/head/; revision=427094
Diffstat (limited to 'multimedia/mythtv/Makefile')
-rw-r--r-- | multimedia/mythtv/Makefile | 28 |
1 files changed, 14 insertions, 14 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> |