1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/audio/xmms-modplug/Makefile
Martin Wilke 129f043916 - Fix build with clang
PR:		185313
Submitted by:	Ports Fury
2014-01-19 08:55:01 +00:00

35 lines
874 B
Makefile

# 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
BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
USES= pkgconfig
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/Input/libmodplugxmms.so
post-patch:
@${REINPLACE_CMD} -e \
's|-lstdc++||' ${WRKSRC}/modplugxmms/Makefile.in
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input
(cd ${WRKSRC}/modplugxmms/.libs && ${INSTALL_LIB} libmodplugxmms.so \
${STAGEDIR}${PREFIX}/lib/xmms/Input)
.include <bsd.port.mk>