mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d311e8c3cc
PR: ports/118632 (based on) Submitted by: anray
65 lines
1.9 KiB
Makefile
65 lines
1.9 KiB
Makefile
# New ports collection makefile for: aqualung
|
|
# Date created: 08 October 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aqualung
|
|
DISTVERSION= 0.9beta9
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Music player with rich features
|
|
|
|
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
|
|
samplerate.1:${PORTSDIR}/audio/libsamplerate \
|
|
sndfile.1:${PORTSDIR}/audio/libsndfile \
|
|
FLAC.7:${PORTSDIR}/audio/flac \
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
|
oggz.3:${PORTSDIR}/audio/liboggz \
|
|
speex.1:${PORTSDIR}/audio/speex \
|
|
mad.2:${PORTSDIR}/audio/libmad \
|
|
modplug.0:${PORTSDIR}/audio/libmodplug \
|
|
mpcdec.5:${PORTSDIR}/audio/libmpcdec \
|
|
mac.2:${PORTSDIR}/audio/mac \
|
|
tag.5:${PORTSDIR}/audio/taglib \
|
|
lrdf.2:${PORTSDIR}/textproc/liblrdf \
|
|
cdio.7:${PORTSDIR}/sysutils/libcdio \
|
|
mp3lame.0:${PORTSDIR}/audio/lame \
|
|
avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
|
strfunc.9:${PORTSDIR}/devel/libstrfunc \
|
|
wavpack.1:${PORTSDIR}/audio/wavpack \
|
|
xslt.2:${PORTSDIR}/textproc/libxslt \
|
|
cddb.4:${PORTSDIR}/audio/libcddb
|
|
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= pkgconfig gtk20 libxml2
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-transform-name="" --with-alsa=no --with-ifp=no\
|
|
--with-cdda=no
|
|
.ifndef WITH_TRAYICON
|
|
CONFIGURE_ARGS+= --with-systray=no
|
|
.endif
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -lstrfunc
|
|
PORTDOCS= README
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= ${DOCSDIR}!'\
|
|
${WRKSRC}/doc/Makefile.in
|
|
# @${REINPLACE_CMD} -e 's/libcdio_paranoia/libcdda_paranoia/g'\
|
|
# ${WRKSRC}/configure
|
|
@${ECHO_CMD} "#include <sys/stat.h>" >> ${WRKSRC}/src/common.h
|
|
@${ECHO_CMD} "#include <sys/types.h>" >> ${WRKSRC}/src/common.h
|
|
.ifdef NOPORTDOCS
|
|
@${REINPLACE_CMD} -e '/^install-data-am/s!install-docDATA!!'\
|
|
${WRKSRC}/doc/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|