aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libnjb/Makefile
blob: a7d10eb16d73a8b60c1faaa03631b8c75474625b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    libnjb
# Date created:             16 July 2006
# Whom:                 adrianm
#
# $FreeBSD$
#

PORTNAME=   libnjb
PORTVERSION=    2.2.5
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    C library, API for communicating with Creative and Dell audio players

LIB_DEPENDS=    usb:${PORTSDIR}/devel/libusb

USE_AUTOTOOLS=  libtool:15
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG=   yes

.ifdef WITH_PORTDOCS
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PLIST_SUB=  DOCS="" PORTVERSION=${PORTVERSION}
.else
PLIST_SUB=  DOCS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>