aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gkrellmms2/Makefile
blob: 5d48575b06861774634e41702d7d12ffaaaee025 (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
36
37
38
39
40
41
42
43
44
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gkrellmms
PORTVERSION=    2.1.22
PORTREVISION=   9
CATEGORIES= audio
MASTER_SITES=   http://gkrellm.luon.net/files/
PKGNAMESUFFIX=  2

MAINTAINER= ume@FreeBSD.org
COMMENT=    GKrellM XMMS Plugin

BUILD_DEPENDS=  ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm2

WRKSRC=     ${WRKDIR}/gkrellmms

PLIST_FILES=    libexec/gkrellm2/plugins/gkrellmms.so \
        share/locale/da/LC_MESSAGES/gkrellmms.mo \
        share/locale/es/LC_MESSAGES/gkrellmms.mo \
        share/locale/fr/LC_MESSAGES/gkrellmms.mo \
        share/locale/nl/LC_MESSAGES/gkrellmms.mo \
        share/locale/ru/LC_MESSAGES/gkrellmms.mo

USES=       gmake pkgconfig

MAKE_ENV+=  PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \
        LOCALEDIR=${PREFIX}/share/locale \
        enable_nls=1

OPTIONS_SINGLE=     PLAYER
OPTIONS_SINGLE_PLAYER=  BMP XMMS
OPTIONS_DEFAULT=    XMMS
BMP_DESC=       Use Beep Media Player
BMP_LIB_DEPENDS=    libbeep.so:${PORTSDIR}/multimedia/beep-media-player
BMP_MAKE_ENV=       USE_BMP=yes
XMMS_DESC=      Use XMMS
XMMS_LIB_DEPENDS=   libxmms.so:${PORTSDIR}/multimedia/xmms

pre-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins

.include <bsd.port.mk>