blob: 6461dec6c813c7b81fbe40eb636f8561649b92a1 (
plain)
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
|
# 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= teksimian@gmail.com
COMMENT= C library, API for communicating with Creative and Dell audio players
LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb
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>
|