mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# New ports collection makefile for: mpg123
|
|
# Version required: 0.59r
|
|
# Date created: 25 June 1997
|
|
# Whom: Carey Jones <mcj@acquiesce.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
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/
|
|
|
|
MAINTAINER= jkoshy@freebsd.org
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
MAN1= mpg123.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
ALL_TARGET= freebsd
|
|
|
|
pre-configure:
|
|
.if $(MACHINE_ARCH) == "i386"
|
|
.if !defined(OPT_ARCH) || (($(OPT_ARCH) != "i486") && ($(OPT_ARCH) != "i586"))
|
|
@${ECHO_MSG} "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
|
@${ECHO_MSG} "Note: you can set OPT_ARCH to optimize for your hardware. (Eg:- make OPT_ARCH=i486)"
|
|
.if $(PORTOBJFORMAT) == "elf"
|
|
@${ECHO_MSG} "Valid values are: i486, i586"
|
|
.else
|
|
@${ECHO_MSG} "Valid values are: i486"
|
|
.endif
|
|
@${ECHO_MSG} "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
|
.endif
|
|
.endif
|
|
|
|
.if $(PORTOBJFORMAT) == "elf"
|
|
OPT_ARCH?= i586
|
|
.else
|
|
OPT_ARCH?= i486
|
|
.endif
|
|
|
|
# Uncomment this line below to optimise for i486 family CPUs on ELF boxes
|
|
# OPT_ARCH= i486
|
|
|
|
.if defined(OPT_ARCH)
|
|
MAKE_ARGS+= OPT_ARCH=$(OPT_ARCH)
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|