2005-11-14 03:48:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2005/11/14 02:48:01 rillig Exp $
|
2003-07-03 10:32:07 +02:00
|
|
|
#
|
|
|
|
|
2005-01-29 13:22:27 +01:00
|
|
|
DISTNAME= mad123-0.8.5
|
2005-11-11 19:58:18 +01:00
|
|
|
PKGREVISION= 1
|
2003-07-03 10:32:07 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.mctavish.co.uk/mad123/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2003-07-03 10:32:07 +02:00
|
|
|
HOMEPAGE= http://www.mctavish.co.uk/mad123/
|
|
|
|
COMMENT= Command-line MPEG audio player
|
|
|
|
|
2005-11-11 19:58:18 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-01-29 13:22:27 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mad123
|
2005-11-11 19:58:18 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= arts oss sun
|
2005-11-14 03:48:01 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS+= oss
|
2005-11-11 19:58:18 +01:00
|
|
|
.if ${OPSYS} != "DragonFly"
|
2005-11-14 03:48:01 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS+= sun
|
2005-11-11 19:58:18 +01:00
|
|
|
.endif
|
2003-07-03 10:32:07 +02:00
|
|
|
|
2005-05-31 18:14:39 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2003-07-03 10:32:07 +02:00
|
|
|
|
2005-01-29 13:22:27 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Marts)
|
|
|
|
MAKE_FLAGS+= USE_ARTS=yes
|
|
|
|
.include "../../audio/arts/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2005-05-31 18:14:39 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Moss)
|
2005-11-11 19:58:18 +01:00
|
|
|
MAKE_FLAGS+= USE_OSS=yes
|
2004-04-11 19:23:38 +02:00
|
|
|
. include "../../mk/ossaudio.buildlink3.mk"
|
2003-07-03 10:32:07 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-11 19:58:18 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Msun)
|
|
|
|
MAKE_FLAGS+= USE_SUN=yes
|
|
|
|
.endif
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
|
2005-05-31 18:14:39 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mad123.1 ${PREFIX}/man/man1/
|
|
|
|
|
|
|
|
.include "../../audio/taglib/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
2003-07-03 10:32:07 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|