aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tv_grab_au
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-06-19 00:55:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-06-19 00:55:05 +0000
commit5bc9654e65c9e2be86c6fcbff753ccbfb056b788 (patch)
tree1f8082a6d9da4c9e1f514cf923b2a24e2cfbba0d /multimedia/tv_grab_au
parent11ba11eafc362f903dca83d2c70ecffdebcf69a1 (diff)
downloadports-5bc9654e65c9e2be86c6fcbff753ccbfb056b788.tar.gz
ports-5bc9654e65c9e2be86c6fcbff753ccbfb056b788.zip
- fix the plist file
- remove the BROKEN flag - remove the patch and uses REINPLACE_CMD instead (to handle PREFIX correctly) - use INSTALL_DATA and INSTALL_SCRIPT instead of generic INSTALL - install to share/xmltv (no more to share/p5-xmltv) - bump PORTREVISION PR: ports/123016 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> Approved by: maintainer timeout (grog; 1 month)
Notes
Notes: svn path=/head/; revision=215218
Diffstat (limited to 'multimedia/tv_grab_au')
-rw-r--r--multimedia/tv_grab_au/Makefile13
-rw-r--r--multimedia/tv_grab_au/files/patch-tv_grab_au20
-rw-r--r--multimedia/tv_grab_au/pkg-plist6
3 files changed, 10 insertions, 29 deletions
diff --git a/multimedia/tv_grab_au/Makefile b/multimedia/tv_grab_au/Makefile
index dcf6a590abdd..ace144a31914 100644
--- a/multimedia/tv_grab_au/Makefile
+++ b/multimedia/tv_grab_au/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tv_grab_au
PORTVERSION= 0.6.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.onlinetractorparts.com.au/rohbags/xmltvau/
# DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -17,14 +17,15 @@ COMMENT= X 'tv_grab_au' is an XMLTV grabber for Australian TV programmes
RUN_DEPENDS= tv_check:${PORTSDIR}/textproc/p5-xmltv
-BROKEN= Incomplete pkg-plist
-
NO_WRKSUBDIR= yes
NO_BUILD= yes
+post-patch:
+ @${REINPLACE_CMD} 's|/usr/share/xmltv|${PREFIX}/share/xmltv|' ${WRKDIR}/tv_grab_au
+
do-install:
- ${INSTALL} ${WRKDIR}/tv_grab_au ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/p5-xmltv/tv_grab_au
- ${INSTALL} ${WRKDIR}/channel_ids ${PREFIX}/share/p5-xmltv/tv_grab_au/channel_ids
+ ${INSTALL_SCRIPT} ${WRKDIR}/tv_grab_au ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/xmltv/tv_grab_au
+ ${INSTALL_DATA} ${WRKDIR}/channel_ids ${PREFIX}/share/xmltv/tv_grab_au/channel_ids
.include <bsd.port.mk>
diff --git a/multimedia/tv_grab_au/files/patch-tv_grab_au b/multimedia/tv_grab_au/files/patch-tv_grab_au
deleted file mode 100644
index b38867d38b25..000000000000
--- a/multimedia/tv_grab_au/files/patch-tv_grab_au
+++ /dev/null
@@ -1,20 +0,0 @@
---- tv_grab_au~ Tue May 31 15:59:17 2005
-+++ tv_grab_au Tue Feb 27 17:05:10 2007
-@@ -68,7 +68,7 @@
- B<--debug> Output debugging info.
-
- B<--share> Specify alternate directory for channel_ids file, usally found
--in /usr/share/xmltv/tv_grab_au/.
-+in /usr/local/share/p5-xmltv/tv_grab_au/.
-
- =head1 SEE ALSO
-
-@@ -218,7 +218,7 @@
-
- # share/ directory for storing region-to-channel mapping files.
- # The directory can be overridden with the --share option.
--my $SHARE_DIR='/usr/share/xmltv';
-+my $SHARE_DIR='/usr/local/share/p5-xmltv';
- $SHARE_DIR = $opt_share if defined $opt_share;
- my $OUR_SHARE_DIR = (defined $SHARE_DIR) ? "$SHARE_DIR/tv_grab_au" : '.';
- my $channel_ids_file = "$OUR_SHARE_DIR/channel_ids";
diff --git a/multimedia/tv_grab_au/pkg-plist b/multimedia/tv_grab_au/pkg-plist
index 1221ba7c0e9d..b92f2e2ff01b 100644
--- a/multimedia/tv_grab_au/pkg-plist
+++ b/multimedia/tv_grab_au/pkg-plist
@@ -1,4 +1,4 @@
bin/tv_grab_au
-share/p5-xmltv/tv_grab_au/channel_ids
-@dirrm share/p5-xmltv/tv_grab_au
-
+share/xmltv/tv_grab_au/channel_ids
+@dirrm share/xmltv/tv_grab_au
+@dirrmtry share/xmltv