diff options
author | pav <pav@FreeBSD.org> | 2008-06-19 08:55:05 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-06-19 08:55:05 +0800 |
commit | 1f5f085cf104639af8a99628e7bda498175244ce (patch) | |
tree | 126e763dcf57a18dda935f3922935ee213627332 /multimedia/tv_grab_au | |
parent | 7a7ee21281f0892aab43622fe81b2a1ee42482f0 (diff) | |
download | freebsd-ports-graphics-1f5f085cf104639af8a99628e7bda498175244ce.tar.gz freebsd-ports-graphics-1f5f085cf104639af8a99628e7bda498175244ce.tar.zst freebsd-ports-graphics-1f5f085cf104639af8a99628e7bda498175244ce.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)
Diffstat (limited to 'multimedia/tv_grab_au')
-rw-r--r-- | multimedia/tv_grab_au/Makefile | 13 | ||||
-rw-r--r-- | multimedia/tv_grab_au/files/patch-tv_grab_au | 20 | ||||
-rw-r--r-- | multimedia/tv_grab_au/pkg-plist | 6 |
3 files changed, 10 insertions, 29 deletions
diff --git a/multimedia/tv_grab_au/Makefile b/multimedia/tv_grab_au/Makefile index dcf6a590abd..ace144a3191 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 b38867d38b2..00000000000 --- 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 1221ba7c0e9..b92f2e2ff01 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 |