1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/audio/gnomoradio/Makefile
Koop Mast 7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: gnomoradio
# Date created: 23 Oct 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= gnomoradio
PORTVERSION= 0.15.1
PORTREVISION= 16
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A program for finding and playing free music from the Internet
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \
vorbis:${PORTSDIR}/audio/libvorbis \
ao:${PORTSDIR}/audio/libao
USE_GNOME= gnomehack gnomeprefix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
LIBTOOLFLAGS= --tag=CXX
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|; \
s|-lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/roboradio/mp3/Makefile.in
@${REINPLACE_CMD} -e 's|static char|static const char|' \
${WRKSRC}/gnomoradio/*.xpm
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/roboradio/mp3/common.c \
${WRKSRC}/roboradio/mp3/esd-audio.[ch] \
${WRKSRC}/roboradio/mp3/id3.h
.include <bsd.port.mk>