aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mtv
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mtv')
-rw-r--r--multimedia/mtv/Makefile23
-rw-r--r--multimedia/mtv/distinfo2
-rw-r--r--multimedia/mtv/pkg-plist12
3 files changed, 19 insertions, 18 deletions
diff --git a/multimedia/mtv/Makefile b/multimedia/mtv/Makefile
index 1a29eb47e281..98dca8ca5ad4 100644
--- a/multimedia/mtv/Makefile
+++ b/multimedia/mtv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mtv
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.5
CATEGORIES= graphics linux
MASTER_SITES= ftp://ftp.mpegtv.com/pub/mpeg/mpegtv/player/x86-unknown-linux-glibc/packages/TGZ/
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz libSDLx11.so.tar.gz
@@ -26,20 +26,21 @@ WRKSRC= ${WRKDIR}/mtv
MAN1= mtv.1
do-install:
- ${MKDIR} ${WRKDIR}/libSDLx11
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libSDLx11.so.tar.gz \
+ @${MKDIR} ${WRKDIR}/libSDLx11
+ @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libSDLx11.so.tar.gz \
${EXTRACT_AFTER_ARGS} -C ${WRKDIR}/libSDLx11
${INSTALL_DATA} ${WRKDIR}/libSDLx11/libSDLx11.so.0.9.9 \
- /compat/linux/usr/X11R6/lib
- /compat/linux/sbin/ldconfig
+ ${LINUXBASE}/usr/X11R6/lib
+ ${LINUXBASE}/sbin/ldconfig
${INSTALL_SCRIPT} ${WRKSRC}/mtv ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mtvp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mtv.1 ${PREFIX}/man/man1
- ${MKDIR} ${PREFIX}/share/mtv
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/mtv
- ${INSTALL_DATA} ${WRKSRC}/release-notes.html ${PREFIX}/share/mtv
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/mtv
- ${INSTALL_DATA} ${WRKSRC}/README-Fullscreen ${PREFIX}/share/mtv
- ${INSTALL_DATA} ${WRKSRC}/README-mtv-redhat ${PREFIX}/share/mtv
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/mtv
+.for file in LICENSE README README-Fullscreen README-mtv-redhat \
+ release-notes.html
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mtv
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/multimedia/mtv/distinfo b/multimedia/mtv/distinfo
index 4c778953eede..42a0a9e466b0 100644
--- a/multimedia/mtv/distinfo
+++ b/multimedia/mtv/distinfo
@@ -1,2 +1,2 @@
-MD5 (mtv-1.2.1.tar.gz) = c0d7a1ee85ef11386fea697d5464905f
+MD5 (mtv-1.2.5.tar.gz) = 862ceb5fcf7a5956414bd613c9504f36
MD5 (libSDLx11.so.tar.gz) = 3b84f7200010b56c08b8608d5fba2cdb
diff --git a/multimedia/mtv/pkg-plist b/multimedia/mtv/pkg-plist
index 81132774db3e..a6958c6304db 100644
--- a/multimedia/mtv/pkg-plist
+++ b/multimedia/mtv/pkg-plist
@@ -1,8 +1,8 @@
bin/mtv
bin/mtvp
-share/mtv/LICENSE
-share/mtv/README
-share/mtv/README-Fullscreen
-share/mtv/README-mtv-redhat
-share/mtv/release-notes.html
-@dirrm share/mtv
+%%PORTDOCS%%share/doc/mtv/LICENSE
+%%PORTDOCS%%share/doc/mtv/README
+%%PORTDOCS%%share/doc/mtv/README-Fullscreen
+%%PORTDOCS%%share/doc/mtv/README-mtv-redhat
+%%PORTDOCS%%share/doc/mtv/release-notes.html
+%%PORTDOCS%%@dirrm share/doc/mtv