1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/audio/mpiosh/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
901 B
Makefile

# New ports collection makefile for: mpio-driver
# Date created: 19 Jun 2003
# Whom: Sergey Akifyev <asa@gascom.ru>
#
# $FreeBSD$
#
PORTNAME= mpiosh
PORTVERSION= 0.7.1.p2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/mpio/mpio%20pre-release/0.7.1-pre2
DISTNAME= mpio-${PORTVERSION:S|.p|_pre|}
MAINTAINER= ports@FreeBSD.org
COMMENT= Digit@lway MPIO MP3 player tool
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal automake autoconf libtool
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
.else
EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.in
.endif
post-patch:
.if ${OSVERSION} >= 800069
${RM} -f ${WRKSRC}/configure
.endif
.include <bsd.port.post.mk>