freebsd-ports/audio/streamtuner/Makefile
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00

92 lines
2.2 KiB
Makefile

# New ports collection makefile for: streamtuner
# Date created: 02 Apr 2002
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= streamtuner
PORTVERSION= 0.99.99
PORTREVISION= 9
CATEGORIES= audio www
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A GTK+ stream directory browser
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
USE_XLIB= yes
USE_GNOME= gtk20 gnomehack gnomeprefix
USE_GMAKE= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
USE_GETOPT_LONG= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
OPTIONS= SHOUTCAST "SHOUTcast plugin" on \
LIVE365 "Live365 plugin" on \
XIPH "Xiph plugin" on \
LOCAL "Local plugin" on \
LOCAL_METADATA "metadata support for the Local plugin" on \
PYTHON "Python plugin" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SHOUTCAST)
CONFIGURE_ARGS+= --disable-shoutcast
PLIST_SUB+= SHOUTCAST="@comment "
.else
PLIST_SUB+= SHOUTCAST=""
.endif
.if defined(WITHOUT_LIVE365)
CONFIGURE_ARGS+= --disable-live365
PLIST_SUB+= LIVE365="@comment "
.else
PLIST_SUB+= LIVE365=""
.endif
.if defined(WITHOUT_XIPH)
CONFIGURE_ARGS+= --disable-xiph
PLIST_SUB+= XIPH="@comment "
.else
PLIST_SUB+= XIPH=""
USE_GNOME+= libxml2
.endif
.if defined(WITHOUT_LOCAL)
CONFIGURE_ARGS+= --disable-local
PLIST_SUB+= LOCAL="@comment "
.else
PLIST_SUB+= LOCAL=""
.if defined(WITHOUT_LOCAL_METADATA)
CONFIGURE_ARGS+= --disable-local-metadata
.else
LIB_DEPENDS+= tag_c:${PORTSDIR}/audio/taglib
.endif
.endif
.if defined(WITHOUT_PYTHON)
CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON="@comment "
.else
PLIST_SUB+= PYTHON=""
USE_PYTHON= 2.3+
# we need to manually include this, because USE_PYTHON is defined
# after including bsd.port.pre.mk
.include "${PORTSDIR}/Mk/bsd.python.mk"
USE_GNOME+= pygtk2
.endif
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|[(]datadir[)]/help|(datadir)/gnome/help|g' \
${WRKSRC}/help/C/Makefile.in
.include <bsd.port.post.mk>