1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: ports/audio/libnjb/Makefile,v 1.7 2008/03/20 13:29:31 gahr Exp $ |
3 |
|
4 |
PORTNAME= libnjb |
5 |
PORTVERSION= 2.2.7 |
6 |
PORTREVISION= 0 |
7 |
CATEGORIES= audio |
8 |
MASTER_SITES= SF |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= C library, API for communicating with Creative and Dell audio players |
12 |
|
13 |
LICENSE= bsd3 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
16 |
USES= pathfix libtool |
17 |
GNU_CONFIGURE= yes |
18 |
USE_LDCONFIG= yes |
19 |
INSTALL_TARGET= install-strip |
20 |
|
21 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
LDFLAGS+= -L${LOCALBASE}/lib |
23 |
|
24 |
PORTDOCS= * |
25 |
|
26 |
OPTIONS_DEFINE= DOCS |
27 |
|
28 |
.include <bsd.mport.options.mk> |
29 |
|
30 |
.if ${PORT_OPTIONS:MDOCS} |
31 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen |
32 |
.else |
33 |
CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN=no |
34 |
.endif |
35 |
|
36 |
post-patch: |
37 |
@${REINPLACE_CMD} -e \ |
38 |
'/^SHOW_DIRECTORIES/d' ${WRKSRC}/doc/Doxyfile.in |
39 |
@${REINPLACE_CMD} -e \ |
40 |
'/pkgdocdir/s|-$$(VERSION)||g' ${WRKSRC}/doc/Makefile.in |
41 |
|
42 |
.include <bsd.port.mk> |