# New ports collection makefile for: xmms-modplug # Date created: 8 January 2006 # Whom: Andrew Pantyukhin # # $FreeBSD$ # PORTNAME= modplug PORTVERSION= 2.0.5 PORTREVISION= 5 CATEGORIES?= audio MASTER_SITES= SF/${PORTNAME}-xmms/${PORTNAME}-xmms/2.05 PKGNAMEPREFIX= xmms- DISTNAME= ${PORTNAME}${PKGNAMEPREFIX}2.05 MAINTAINER= ports@FreeBSD.org COMMENT= A modplug-based plugin for XMMS LIB_DEPENDS?= xmms.4:${PORTSDIR}/multimedia/xmms LIB_DEPENDS+= modplug.0:${PORTSDIR}/audio/libmodplug 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