blob: 7589cba2b701a6bf67a75397ab4d977489a17801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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= 3
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jylefort@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_X_PREFIX= yes
USE_GCC= 3.4+
USE_GNOME= gnomehack gnomeprefix
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= 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
patch-autotools:
@for file in ${LIBTOOLFILES}; do \
${REINPLACE_CMD} -e \
'/^ltmain=/ s|$$ac_aux_dir/ltmain\.sh|${LTMAIN}|g' \
${PATCH_WRKSRC}/$$file; \
done
.include <bsd.port.mk>
|