freebsd-ports/audio/xmms-modplug/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

35 lines
869 B
Makefile

# 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= 3
CATEGORIES?= audio
MASTER_SITES= SFE
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
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>