openbsd-ports/audio/mpg123/Makefile

43 lines
1001 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2000/06/10 17:39:18 espie Exp $
DISTNAME= mpg123-0.59r
CATEGORIES= audio
NEED_VERSION= 1.300
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-20000217.diff.gz:0
2000-02-23 12:28:06 -05:00
PATCH_DIST_STRIP= -p1
1998-10-06 19:18:44 -04:00
HOMEPAGE= http://www.mpg123.de/
1999-12-01 10:26:59 -05:00
MAINTAINER= ho@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_ENV= USE_INET6=Yes
MAKE_FLAGS= CC="${CC}"
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
1999-09-07 10:55:21 -04:00
.if (${MACHINE_ARCH} != "i386")
ALL_TARGET= openbsd
.else
ALL_TARGET= openbsd-i386
.endif
post-patch:
@cp ${FILESDIR}/{audio_openbsd.c,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
.include <bsd.port.mk>