2002-10-24 18:20:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2002/10/24 22:20:03 naddy Exp $
|
2002-03-29 18:29:55 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= sparc64
|
1998-04-28 07:29:58 -04:00
|
|
|
|
2001-04-12 23:23:59 -04:00
|
|
|
COMMENT= "mpeg audio 1/2 layer 1, 2 and 3 player"
|
2001-04-23 20:48:12 -04:00
|
|
|
|
2000-01-12 10:47:13 -05:00
|
|
|
DISTNAME= mpg123-0.59r
|
1998-04-28 07:29:58 -04:00
|
|
|
CATEGORIES= audio
|
2001-04-23 20:48:12 -04:00
|
|
|
HOMEPAGE= http://www.mpg123.de/
|
|
|
|
|
2001-10-24 17:32:12 -04:00
|
|
|
# Long, unclear license in ${WRKSRC}/COPYING.
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
2001-04-23 20:48:12 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2001-10-24 17:32:12 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= No
|
2001-04-23 20:48:12 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-01-12 10:47:13 -05:00
|
|
|
MASTER_SITES= http://www.mpg123.de/mpg123/ \
|
1999-09-07 10:55:21 -04:00
|
|
|
http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
|
1999-03-05 09:26:57 -05:00
|
|
|
ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
|
|
|
|
http://ftp.tu-clausthal.de/pub/unix/audio/mpg123
|
2000-02-23 12:28:06 -05:00
|
|
|
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
|
2000-06-11 13:26:25 -04:00
|
|
|
MASTER_SITES1= http://www.unix-ag.org/Linux-Alpha/Packages/
|
2000-03-20 01:51:48 -05:00
|
|
|
|
2000-08-02 06:33:24 -04:00
|
|
|
PATCHFILES= mpg123-059r-v6-20000713b.diff.gz:0 \
|
2000-06-11 13:26:25 -04:00
|
|
|
l3.diff.gz:1
|
2000-02-23 12:28:06 -05:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1998-10-06 19:18:44 -04:00
|
|
|
|
2001-04-23 20:48:12 -04:00
|
|
|
FLAVORS= esd
|
|
|
|
FLAVOR?=
|
1999-08-17 11:51:21 -04:00
|
|
|
|
2001-04-23 20:48:12 -04:00
|
|
|
.if ${FLAVOR:L:Mesd}
|
2001-05-22 07:18:26 -04:00
|
|
|
LIB_DEPENDS= esd.2::audio/esound
|
2001-04-23 20:48:12 -04:00
|
|
|
ALL_TARGET= openbsd-esd
|
1998-04-28 07:29:58 -04:00
|
|
|
.else
|
2001-04-23 20:48:12 -04:00
|
|
|
ALL_TARGET= openbsd
|
1998-04-28 07:29:58 -04:00
|
|
|
.endif
|
|
|
|
|
2001-04-23 20:48:12 -04:00
|
|
|
MAKE_FLAGS= CC='${CC}'
|
|
|
|
|
1999-08-17 11:51:21 -04:00
|
|
|
post-patch:
|
2001-04-23 20:48:12 -04:00
|
|
|
@cp ${FILESDIR}/audio_openbsd.c ${FILESDIR}/term.c ${WRKSRC}
|
1999-08-17 11:51:21 -04:00
|
|
|
|
2000-03-02 21:21:54 -05:00
|
|
|
post-install:
|
2000-03-10 20:09:01 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mpg123
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/mpg123
|
2000-03-02 21:21:54 -05:00
|
|
|
|
2002-10-24 18:20:03 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-04-28 07:29:58 -04:00
|
|
|
.include <bsd.port.mk>
|