aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-modplug/Makefile
blob: 7bc463a08ce698ca881a8659aa23edfbda6b0539 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	modplug
PORTVERSION=	2.0.5
PORTREVISION=	7
CATEGORIES?=	audio
MASTER_SITES=	SF/${PORTNAME}-xmms/${PORTNAME}-xmms/2.05
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}${PKGNAMEPREFIX}2.05

MAINTAINER=	ports@FreeBSD.org
COMMENT=	ModPlug-based plugin for XMMS

LIB_DEPENDS?=	libxmms.so:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS+=	modplug:${PORTSDIR}/audio/libmodplug

USES=		pkgconfig
NO_STAGE=	yes
USE_LDCONFIG=	yes
HAS_CONFIGURE=	yes
PLUGDIR?=	lib/xmms/Input
PLIST_FILES=	${PLUGDIR}/libmodplugxmms.so

post-patch:
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/modplugxmms/.libs/libmodplugxmms.so \
		${PREFIX}/${PLUGDIR}

.include <bsd.port.mk>