blob: 1a1d94dc7f118bd74a12285012948421fde29158 (
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
|
# New ports collection makefile for: libnjb
# Date created: 16 July 2006
# Whom: adrianm
#
# $FreeBSD$
#
PORTNAME= libnjb
PORTVERSION= 2.2.5
CATEGORIES= audio
MASTER_SITES= http://mesh.dl.sourceforge.net/sourceforge/libnjb/
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>
|