3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
45 lines
903 B
Makefile
45 lines
903 B
Makefile
# New ports collection makefile for: madplay
|
|
# Date created: 26 November 2003
|
|
# Whom: Sergey Akifyev <asa@gascom.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= madplay
|
|
PORTVERSION= 0.15.0b
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
MASTER_SITE_SUBDIR= mad
|
|
|
|
MAINTAINER= asa@gascom.ru
|
|
COMMENT= Madplay MP3 player (part of MAD project)
|
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
|
|
id3tag.2:${PORTSDIR}/audio/libid3tag
|
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_GETTEXT= yes
|
|
USE_LIBTOOL_VER= 13
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
|
ALL_TARGET= all madtime
|
|
|
|
MAN1= abxtest.1 madplay.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
USE_GNOME+= esound
|
|
PKGNAMESUFFIX= -esound
|
|
.else
|
|
CONFIGURE_ARGS+= --without-esd
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|