summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authorkent <kent>2002-06-23 08:45:09 +0000
committerkent <kent>2002-06-23 08:45:09 +0000
commit0537472a9cd8ea1bd6ef156e3428ee50bc48589a (patch)
tree7f48bf102314ee3d80d60cc64ebffe66a76a7ce0 /audio/mpg123/Makefile
parentcaec88ca30489ecc7cae6f28e41af96830e5a642 (diff)
downloadpkgsrc-0537472a9cd8ea1bd6ef156e3428ee50bc48589a.tar.gz
Integrate ARM 64bit fixedpoint patch submitted by Tim Deegan in pkg/16479.
This feature is enabled by MPG123_ARM_FIXED64. mpg123/Makefile.common contains common stuff of mpg123 and mpg123-esound.
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r--audio/mpg123/Makefile58
1 files changed, 3 insertions, 55 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 6f69d062f69..b92007ff6c7 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,62 +1,10 @@
-# $NetBSD: Makefile,v 1.33 2002/05/25 06:31:28 rh Exp $
+# $NetBSD: Makefile,v 1.34 2002/06/23 08:45:09 kent Exp $
-DISTNAME= mpg123-0.59r
-PKGNAME= mpg123-0.59.18
+PKGNAME= mpg123-${MPG123_VERSION}
PKGREVISION= 2
-CATEGORIES= audio
-MASTER_SITES= http://www.mpg123.de/mpg123/ \
- http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/
-
-PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
-PATCHFILES= mpg123-059r-v6-20000713b.diff.gz
-
-MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.mpg123.de/
COMMENT= Command-line player for mpeg layer 1, 2 and 3 audio
CONFLICTS+= mpg123-nas-[0-9]*
-BUILD_DEFS+= USE_INET6
-DIST_SUBDIR= mpg123
-
-USE_BUILDLINK_ONLY= # defined
-
-# for OBJECT_FMT
-.include "../../mk/bsd.prefs.mk"
-
-.if (${MACHINE_ARCH} == "i386")
-.if (${OBJECT_FMT} == "ELF")
-ALL_TARGET= netbsd-i386-elf
-.else
-ALL_TARGET= netbsd-i386
-.endif
-.elif (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32")
-ALL_TARGET= netbsd-arm
-.elif (${MACHINE_ARCH} == "m68k")
-ALL_TARGET= netbsd-m68k
-.else
-ALL_TARGET= ${LOWER_OPSYS}
-.endif
-
-.if ${OPSYS} == "SunOS"
-ALL_TARGET= solaris-gcc
-.endif
-
-.if defined(USE_INET6) && ${USE_INET6} == "YES"
-CPPFLAGS+= -DINET6
-.endif
-
-MAKE_FLAGS+= PREFIX="${PREFIX}"
-
-pre-patch:
- ${LN} -s . ${WRKSRC}/mpg123
-
-post-patch:
- ${RM} -f ${WRKSRC}/mpg123
- ${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/
- cd ${WRKSRC} ; ${MV} decode_i586.s decode_i586.s.orig ;\
- ${SED} \
- -e 's@^/@#/@g' \
- <decode_i586.s.orig >decode_i586.s
-
+.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"