2000-10-28 07:34:09 +00:00
|
|
|
# New ports collection makefile for: freeamp
|
|
|
|
# Date Created: 26 Oct 2000
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freeamp
|
2001-07-02 08:24:09 +00:00
|
|
|
PORTVERSION= 2.1.0
|
2001-05-04 21:41:30 +00:00
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= audio gnome
|
2000-10-28 07:34:09 +00:00
|
|
|
MASTER_SITES= http://www.freeamp.org/download/src/
|
|
|
|
|
2001-06-17 18:49:50 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-06-17 07:30:17 +00:00
|
|
|
|
2000-10-28 07:34:09 +00:00
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
LIB_DEPENDS= musicbrainz.1:${PORTSDIR}/audio/musicbrainz \
|
|
|
|
id3:${PORTSDIR}/audio/id3lib \
|
2001-05-04 21:41:30 +00:00
|
|
|
ttf.4:${PORTSDIR}/print/freetype
|
2000-10-28 07:34:09 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_XLIB= yes
|
2001-05-04 21:41:30 +00:00
|
|
|
USE_GNOMECTRL= yes
|
2000-10-28 07:34:09 +00:00
|
|
|
USE_GMAKE= yes
|
2001-07-02 08:24:09 +00:00
|
|
|
USE_AUTOCONF =yes
|
|
|
|
|
2000-10-28 07:34:09 +00:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "i386"
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -D_M_IX86"
|
|
|
|
.elif ${ARCH} == "alpha"
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -D_M_ALPHA"
|
|
|
|
.endif
|
|
|
|
|
2001-07-02 08:24:09 +00:00
|
|
|
post-install:
|
|
|
|
if [ ! -d ... ]; then \
|
|
|
|
${MKDIR} ${LOCALBASE}/etc/sdr/plugins; \
|
|
|
|
fi;\
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.freeamp \
|
|
|
|
${LOCALBASE}/etc/sdr/plugins/
|
|
|
|
|
2000-10-28 07:34:09 +00:00
|
|
|
.include <bsd.port.post.mk>
|