aboutsummaryrefslogtreecommitdiff
path: root/multimedia/freetuxtv
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-02-01 01:16:58 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-02-01 01:16:58 +0000
commit4365d2b88f6b68ca5845d617618cf52c33351050 (patch)
tree551a0e8d095bbf485178fa9e1e4bfec731305631 /multimedia/freetuxtv
parent81607cea8a25a52bb5c3dbf8904e849e12ee9162 (diff)
downloadports-4365d2b88f6b68ca5845d617618cf52c33351050.tar.gz
ports-4365d2b88f6b68ca5845d617618cf52c33351050.zip
- Remove dependency glib20 pulled in by other deps (gtk20)
- Break lines around 80 characters - Add pkg-message - Set PORTSCOUT, Upstream use GTK3 in newer Versions - Add REINPLACE, fix bad GTK code
Notes
Notes: svn path=/head/; revision=342095
Diffstat (limited to 'multimedia/freetuxtv')
-rw-r--r--multimedia/freetuxtv/Makefile11
-rw-r--r--multimedia/freetuxtv/files/pkg-message.in9
2 files changed, 18 insertions, 2 deletions
diff --git a/multimedia/freetuxtv/Makefile b/multimedia/freetuxtv/Makefile
index fec96bbbca7f..3a40a80956cc 100644
--- a/multimedia/freetuxtv/Makefile
+++ b/multimedia/freetuxtv/Makefile
@@ -26,12 +26,12 @@ LIB_DEPENDS= libvlc.so:${PORTSDIR}/multimedia/vlc \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
USES= gmake iconv pathfix pkgconfig
-USE_GNOME= glib20 gtk20 cairo
+USE_GNOME= gtk20 cairo
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-gtk=2.0
-CFLAGS= -Wno-return-type
+CFLAGS+= -Wno-return-type -w
INSTALLS_ICONS= yes
PORTDOCS= AUTHORS ChangeLog README
@@ -42,12 +42,19 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+SUB_FILES= pkg-message
+
+# Wrong versioning upstream, Upstream use GTK3 in newer Versions
+PORTSCOUT= ignore:1
+
post-patch:
@${REINPLACE_CMD} -e 's|$${pkgdatadir}/doc|$${PREFIX}/share/doc/${PORTNAME}|' \
-e 's|install-data-am: install-freetuxtvdocDATA|install-data-am: |' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's/libvlc_media_new_path/libvlc_media_new_location/' \
${WRKSRC}/lib/libvlc-gtk/gtk-libvlc-media-player.c
+ @${REINPLACE_CMD} -e 's|g_strcasecmp|g_ascii_strcasecmp|' \
+ ${WRKSRC}/src/main.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/multimedia/freetuxtv/files/pkg-message.in b/multimedia/freetuxtv/files/pkg-message.in
new file mode 100644
index 000000000000..1cfbcc62756f
--- /dev/null
+++ b/multimedia/freetuxtv/files/pkg-message.in
@@ -0,0 +1,9 @@
+===============================================================================
+
+FreetuxTV has been installed.
+
+These channels you can browse for FreetuxTV
+
+ http://database.freetuxtv.net/
+
+===============================================================================