freebsd-ports/audio/xmms-musepack/Makefile
Tilman Keskinoz 6c724f1ac3 Respect CC and CFLAGS
Compile .so with -fPIC to fix build on amd64 and ia64[1]

[1]:
PR:		65435
Submitted by:	tjr
2004-04-13 11:02:59 +00:00

34 lines
764 B
Makefile

# New ports collection makefile for: xmms-musepack
# Date created: 15 Mar 2002
# Whom: Walter Hop <walter@binity.com>
#
# $FreeBSD$
#
PORTNAME= xmms-musepack
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://dl.slik.org/musepack/
MAINTAINER= wh@slik.org
COMMENT= XMMS input plugin for playing MPC Musepack (.mpc, .mp+) files
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
PLIST_FILES= lib/xmms/Input/xmms-mpegplus-1.8.0.so
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_LIBTOOL_VER= 13
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e "s,gcc,${CC} ${CFLAGS} -fPIC," ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${PREFIX}/lib/xmms/Input/xmms-mpegplus-1.8.0.so
.include <bsd.port.post.mk>