1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/audio/mpiosh/Makefile
Stanislav Sedov a492e87bbd - Fix package building after switching to 'configure' rebuilding. [1]
- Do not install .la and static library files.

Reported by:	erwin [1]
2009-04-07 22:00:12 +00:00

50 lines
1.1 KiB
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
CATEGORIES= audio
MASTER_SITES= SF/mpio
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:110 automake:110 autoconf:262 libtool:15
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
CONFIGURE_ENV= 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
patch-autotools:
${DO_NADA}
#
# Get rid of .la and static library files
#
post-configure:
@${REINPLACE_CMD} -E -e \
'/Install the pseudo-library/,/staticlibs=/s,^,#,' ${WRKSRC}/libtool
post-patch:
.if ${OSVERSION} >= 800069
${RM} -f ${WRKSRC}/configure
.endif
.include <bsd.port.post.mk>