Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / liblastfm / Makefile
blobb7354857fc9822a4df88f0199ad10f91c7cd935f
1 # $NetBSD: Makefile,v 1.25 2013/02/06 23:21:14 jperkin Exp $
4 DISTNAME= mxcl-liblastfm-0.3.3-0-gf0b3239
5 PKGNAME= liblastfm-0.3.3
6 PKGREVISION= 17
7 CATEGORIES= audio net
8 MASTER_SITES= http://download.github.com/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://github.com/mxcl/liblastfm
12 COMMENT= Library for accessing last.fm
13 LICENSE= gnu-gpl-v2
15 WRKSRC= ${WRKDIR}/mxcl-liblastfm-1c739eb
17 USE_LANGUAGES= c c++
18 USE_LIBTOOL= yes
19 USE_TOOLS+= bash gmake pkg-config
20 PREPEND_PATH+= ${QTDIR}/bin
22 HAS_CONFIGURE= yes
23 CONFIGURE_ARGS+= --prefix ${PREFIX}
24 #CONFIGURE_ARGS+= --release
25 #CPPFLAGS+= -fPIC
26 CONFIG_SHELL= ${RUBY}
28 REPLACE_RUBY+= admin/Makefile.rb
29 REPLACE_RUBY+= admin/findsrc.rb
30 REPLACE_RUBY+= admin/lastfm.h.rb
31 REPLACE_RUBY+= admin/platform.rb
32 REPLACE_RUBY+= admin/qpp
33 REPLACE_RUBY+= admin/utils.rb
34 REPLACE_RUBY+= admin/which_qmake.rb
36 pre-configure:
37 ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
39 .include "../../audio/libsamplerate/buildlink3.mk"
40 .include "../../lang/ruby/replace.mk"
41 BUILDLINK_DEPMETHOD.${RUBY_BASE}= build
42 .include "../../lang/ruby/buildlink3.mk"
43 .include "../../math/fftwf/buildlink3.mk"
44 .include "../../x11/qt4-libs/buildlink3.mk"
45 .include "../../x11/qt4-tools/buildlink3.mk"
46 .include "../../mk/bsd.pkg.mk"