2005-05-21 18:26:18 +02:00
|
|
|
# New ports collection makefile for: bmp-flac
|
|
|
|
# Date created: 2005-05-22
|
|
|
|
# Whom: nork@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= flac
|
|
|
|
PORTVERSION= 20040316
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 6
|
2005-05-21 18:26:18 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://ccm.sherry.jp/tmp/
|
|
|
|
PKGNAMEPREFIX= bmp-
|
|
|
|
DISTNAME= ${PORTNAME}-CVS-${PORTVERSION}-with-bmp-plugin
|
|
|
|
|
|
|
|
MAINTAINER= nork@FreeBSD.org
|
|
|
|
COMMENT= FLAC input plugin for beep-media-player
|
|
|
|
|
|
|
|
LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player \
|
2008-04-07 22:37:23 +02:00
|
|
|
FLAC.10:${PORTSDIR}/audio/flac
|
2005-05-21 18:26:18 +02:00
|
|
|
|
|
|
|
PLIST_FILES= lib/bmp/Input/libbmp-flac.so
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-21 18:26:18 +02:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
|
|
|
|
--with-ogg="${LOCALBASE}" \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
--with-xmms-prefix="${LOCALBASE}"
|
2005-05-21 18:26:18 +02:00
|
|
|
|
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
|
|
|
|
2007-11-12 19:34:05 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
|
|
|
|
2005-05-21 18:26:18 +02:00
|
|
|
# "obj" is magic to our make(1)
|
2008-04-07 22:37:23 +02:00
|
|
|
# make sure we get the new includes from ${LOCALBASE}/include/FLAC
|
2005-05-21 18:26:18 +02:00
|
|
|
post-configure:
|
|
|
|
@${RM} -rf ${WRKSRC}/obj
|
2008-04-07 22:37:23 +02:00
|
|
|
@${RM} -rf ${WRKSRC}/include/FLAC
|
2005-05-21 18:26:18 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input
|
2005-05-21 19:07:53 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${PREFIX}/lib/bmp/Input
|
2005-05-21 18:26:18 +02:00
|
|
|
|
2007-10-02 11:35:48 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile with GCC 4.2
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|