freebsd-ports/multimedia/freetuxtv/Makefile
Mathieu Arnold bebf3178ae Mark the remaining ports depending on Google Code as DEPRECATED, with an
EXPIRATION_DATE at the end of April 2017.

In the past six months, about a third of the ports marked BROKEN because
they were hosted on Google Code have been fixed.  The remaining must not
be of use to anyone.

With hat:	portmgr
Sponsored by:	Absolight
2017-03-03 16:00:19 +00:00

62 lines
1.6 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= freetuxtv
PORTVERSION= 0.6.6
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= WebTV player based on GTK3+ and LibVLC
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
LIB_DEPENDS= libvlc.so:multimedia/vlc \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libcurl.so:ftp/curl \
libnotify.so:devel/libnotify
USES= gmake iconv libtool localbase pkgconfig sqlite
USE_GNOME= cairo gtk30 intltool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk=3.0
CFLAGS+= -Wno-return-type -w
INSTALLS_ICONS= yes
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
NLS_BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
SUB_FILES= pkg-message
pre-configure:
${REINPLACE_CMD} -e 's|$${pkgdatadir}/doc|$${pkgdocdir}|' \
-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:
(cd ${STAGEDIR}${PREFIX}/share/pixmaps && \
${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>