summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2007-01-17 06:01:05 +0000
committerGreg Lehey <grog@FreeBSD.org>2007-01-17 06:01:05 +0000
commit14e4dd079429b7ad4a1e6cecbca543c945b16019 (patch)
tree5857771ff6d3e5955cf15707e0d61d60517364a1 /multimedia
parentPerform some post-install stuff: add users and create the mythconverg (diff)
Install p5-XML-SAX-Expat explicitly; otherwise a parser gets installed
that is subsequently rejected. Make a better job of configuring what we can. qt-mysql-plugin is a run dependency, not a build dependency.
Notes
Notes: svn path=/head/; revision=182589
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythtv/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile
index d67e4812ebdf..1ddc38a46753 100644
--- a/multimedia/mythtv/Makefile
+++ b/multimedia/mythtv/Makefile
@@ -17,12 +17,13 @@ COMMENT= MythTV is a homebrew PVR project
ONLY_FOR_ARCHS= i386
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
- ${X11BASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
+ ${SITE_PERL}/${PERL_ARCH}/XML/Parser/Expat.pm:${PORTSDIR}/textproc/p5-XML-SAX-Expat
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= tv_check:${PORTSDIR}/textproc/p5-xmltv \
+ ${X11BASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin \
wget:${PORTSDIR}/ftp/wget
USE_BZIP2= yes
@@ -70,9 +71,10 @@ do-configure:
-spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ mythtv.pro
post-install:
- ${MKDIR} ${PREFIX}/share/mythtv/database
+ ${MKDIR} -p ${PREFIX}/share/mythtv/database
${CP} ${WRKSRC}/database/mc.sql ${PREFIX}/share/mythtv/database
${CP} ${WRKSRC}/programs/mythtv-setup/mythtv-setup ${PREFIX}/bin/mythtv-setup
- @${CAT} ${PKGMESSAGE}
+ ${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${MKDIR} ${PREFIX}/share/mythtv/database
.include <bsd.port.post.mk>