openbsd-ports/audio/mpg123/Makefile
2000-02-18 20:18:00 +00:00

35 lines
894 B
Makefile

# $OpenBSD: Makefile,v 1.11 2000/02/18 20:18:00 ho Exp $
DISTNAME= mpg123-0.59r
CATEGORIES= audio
MASTER_SITES= http://www.mpg123.de/mpg123/ \
http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
http://ftp.tu-clausthal.de/pub/unix/audio/mpg123
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} mpg123-059r-v6-20000111.diff.gz:0
PATCHFILES+= mpg123-059r-v6-20000111.diff.gz
PATCH_DIST_STRIP= -p1
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ho@openbsd.org
HOMEPAGE= http://www.mpg123.de/
.if (${MACHINE_ARCH} != "i386")
ALL_TARGET= openbsd
.else
ALL_TARGET= openbsd-i386
.endif
# wrong way to detect IPv6
.if exists(/usr/include/netinet6/in6_ifattach.h)
MAKE_ENV+= USE_INET6=YES
.endif
post-patch:
@cp ${FILESDIR}/{audio_openbsd.c,term.c} ${WRKSRC}
.include <bsd.port.mk>