openbsd-ports/audio/mpg123/Makefile

52 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.36 2006/05/29 19:34:59 bernd Exp $
# mpg123 is unusable without FPU
NOT_FOR_ARCHS= arm
COMMENT= "mpeg audio 1/2 layer 1, 2 and 3 player"
DISTNAME= mpg123-0.59r
PKGNAME= ${DISTNAME}p4
CATEGORIES= audio
HOMEPAGE= http://www.mpg123.de/
# Long, unclear license in ${WRKSRC}/COPYING.
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
2004-11-21 12:51:44 -05:00
WANTLIB= c m
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/
PATCHFILES= mpg123-059r-v6-20000713b.diff.gz:0
2000-02-23 12:28:06 -05:00
PATCH_DIST_STRIP= -p1
1998-10-06 19:18:44 -04:00
FLAVORS= esd
FLAVOR?=
.if ${FLAVOR:L:Mesd}
LIB_DEPENDS= esd.2::audio/esound
ALL_TARGET= openbsd-esd
2004-11-21 12:51:44 -05:00
WANTLIB+= audiofile
.else
ALL_TARGET= openbsd
.endif
MAKE_FLAGS= CC='${CC}'
post-patch:
@cp ${FILESDIR}/audio_openbsd.c ${FILESDIR}/term.c ${WRKSRC}
post-install:
2000-03-10 20:09:01 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/mpg123
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/mpg123
2002-10-24 18:20:03 -04:00
NO_REGRESS= Yes
.include <bsd.port.mk>