aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ruby-xmms2/Makefile
blob: 19c8cf06f13d163298c79fd7160c919965e702c9 (plain) (blame)
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
# New ports collection makefile for:    ruby-xmms2
# Date created:             18 Mar 2006
# Whom:                 Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#

CATEGORIES= audio ruby
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}

MAINTAINER= alex@foxybanana.com
COMMENT=    Ruby Bindings for XMMS2

BUILD_DEPENDS+= ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
RUN_DEPENDS+=   ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2

MASTERDIR=  ${.CURDIR}/../xmms2

USE_RUBY=   yes
USE_GNOME=  glib20

PLIST=      ${.CURDIR}/pkg-plist

SCONS_TARGET=   src/clients/lib/ruby/xmmsclient.so \
        src/clients/lib/ruby/xmmsclient_glib.so
XMMS2_SLAVE=    ruby

do-install:
    @cd ${WRKSRC} && ${INSTALL_PROGRAM} src/clients/lib/ruby/xmmsclient.so \
    ${RUBY_SITEARCHLIBDIR}/xmmsclient.so
    @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
    src/clients/lib/ruby/xmmsclient_glib.so \
    ${RUBY_SITEARCHLIBDIR}/xmmsclient_glib.so

.include "${MASTERDIR}/Makefile"