summaryrefslogtreecommitdiff
path: root/audio/xmms-modplug/Makefile
blob: 177a54ba1c2c5ef11995c6f539ffa596f3afcfc6 (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
# New ports collection makefile for:	xmms-modplug
# Date created:		8 January 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	modplug
PORTVERSION=	2.0.5
PORTREVISION=	2
CATEGORIES?=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME}-${PKGNAMEPREFIX:S/-//}
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}${PKGNAMEPREFIX}2.05

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	A modplug-based plugin for XMMS

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

USE_X_PREFIX=	yes
HAS_CONFIGURE=	yes
PLUGDIR?=	lib/xmms/Input
PLIST_FILES=	${PLUGDIR}/libmodplugxmms.so

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		Does not compile on FreeBSD 4.x
.endif

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

.include <bsd.port.post.mk>