diff options
author | grog <grog@FreeBSD.org> | 2007-03-26 08:39:27 +0800 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2007-03-26 08:39:27 +0800 |
commit | e375925952427c3ad2900ff1a0ae61aafc44e89e (patch) | |
tree | 5da564ae30a9db2608c5047a861ac8985bc921f7 /multimedia/mythtv | |
parent | c8452528fc1abb12ef5ec0bc8bca08ba6febbeae (diff) | |
download | freebsd-ports-gnome-e375925952427c3ad2900ff1a0ae61aafc44e89e.tar.gz freebsd-ports-gnome-e375925952427c3ad2900ff1a0ae61aafc44e89e.tar.zst freebsd-ports-gnome-e375925952427c3ad2900ff1a0ae61aafc44e89e.zip |
Remove extreme breakage.
Marked broken by: kris
Diffstat (limited to 'multimedia/mythtv')
-rw-r--r-- | multimedia/mythtv/Makefile | 2 | ||||
-rw-r--r-- | multimedia/mythtv/pkg-install | 37 | ||||
-rw-r--r-- | multimedia/mythtv/pkg-plist | 1 |
3 files changed, 17 insertions, 23 deletions
diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index bfe64d6e07f2..0b1a25444e20 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -24,8 +24,6 @@ RUN_DEPENDS= tv_check:${PORTSDIR}/textproc/p5-xmltv \ ${X11BASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin \ wget:${PORTSDIR}/ftp/wget -BROKEN= Incorrect pkg-plist - ONLY_FOR_ARCHS= i386 USE_BZIP2= yes USE_QT_VER= 3 diff --git a/multimedia/mythtv/pkg-install b/multimedia/mythtv/pkg-install index 4b91ed45bd9a..9c40840b4f4e 100644 --- a/multimedia/mythtv/pkg-install +++ b/multimedia/mythtv/pkg-install @@ -2,28 +2,26 @@ # $FreeBSD$ PATH=/bin:/usr/sbin:/usr/bin:/usr/local/bin -case $2 in -POST-INSTALL) - USER=mythtv - GROUP=${USER} - UID=119 - GID=${UID} - HOME=/home/mythtv +USER=mythtv +GROUP=${USER} +UID=119 +GID=${UID} +HOME=/home/mythtv - if pw group show "${GROUP}" 2>/dev/null; then +if pw group show "${GROUP}" 2>/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." - else +else if pw groupadd ${GROUP} -g ${GID}; then echo "Added group \"${GROUP}\"." else echo "Adding group \"${GROUP}\" failed..." exit 1 fi - fi +fi - if pw user show "${USER}" 2>/dev/null; then +if pw user show "${USER}" 2>/dev/null; then echo "You already have a user \"${USER}\", so I will use it." - else +else if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ -d ${HOME} -m -s /bin/sh -c "MythTV" then @@ -36,10 +34,10 @@ POST-INSTALL) echo "Adding user \"${USER}\" failed..." exit 1 fi - fi +fi # Now make the database - if [ -f /usr/local/etc/rc.d/mysql-server ]; then +if [ -f /usr/local/etc/rc.d/mysql-server ]; then pgrep mysqld > /dev/null if [ $? -ne 0 ]; then /usr/local/etc/rc.d/mysql-server start @@ -67,25 +65,22 @@ EOF else echo Created database mythconverg. fi - else +else cat <<EOF No MySQL server found. If you want to run the database on this machine, please install the latest MySQL server and then create the database with this command: - mysql < /usr/local/share/mythtv/database/mc.sql +mysql < /usr/local/share/mythtv/database/mc.sql EOF - fi +fi cat <<EOF To set up mythtv, first assign a password to user mythtv, then log in as mythtv and run - mythtv-setup +mythtv-setup EOF - ;; - -esac diff --git a/multimedia/mythtv/pkg-plist b/multimedia/mythtv/pkg-plist index ef7830315724..b4d3a20db33c 100644 --- a/multimedia/mythtv/pkg-plist +++ b/multimedia/mythtv/pkg-plist @@ -130,6 +130,7 @@ lib/mythtv/filters/libivtc.so lib/libmyth-0.20.so lib/libmyth-0.20.so.0 lib/libmyth-0.20.so.0.20 +lib/libmyth-0.20.so.0.20.0 lib/libmythavcodec-0.20.so lib/libmythavcodec-0.20.so.0 lib/libmythavcodec-0.20.so.0.20 |