aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-xymms/Makefile
blob: 11622c8114923ccb5fc4c1077a07ca491ee7a8c9 (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
# New ports collection makefile for:    xmms-xymms
# Date created:             27 Jun 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   xymms
DISTVERSION=    0.9.1
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  xmms-

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Sega Genesis GYM plugin for XMMS

BUILD_DEPENDS=  xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=    xmms:${PORTSDIR}/multimedia/xmms

GNU_CONFIGURE=  yes
USE_GNOME=  gtk12
USE_LDCONFIG=   yes

CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"

PLIST_FILES=    lib/xmms/Input/libxymms.a \
        lib/xmms/Input/libxymms.la \
        lib/xmms/Input/libxymms.so \
        %%EXAMPLESDIR%%/sample.gym
PLIST_DIRS= %%EXAMPLESDIR%%

post-patch:
    @${REINPLACE_CMD} -e 's|-D_REENTRANT||' ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/samples/sample.gym ${EXAMPLESDIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>