mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
508e061556
- Update pkg-plist and bump PORTREVISION of affected ports PR: ports/148156 Submitted by: maintainer Approved by: tabthorpe (mentor), fluffy (graphics/libwpg) Tested by: exp-run by pav
42 lines
941 B
Makefile
42 lines
941 B
Makefile
# New ports collection makefile for: libnjb
|
|
# Date created: 16 July 2006
|
|
# Whom: adrianm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libnjb
|
|
PORTVERSION= 2.2.6
|
|
PORTREVISION= 7
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C library, API for communicating with Creative and Dell audio players
|
|
|
|
USE_AUTOTOOLS= libtool:22
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800069
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
.else
|
|
NODOC= /^SUBDIRS/s|doc||
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|;\
|
|
${NODOC}' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e '/^SHOW_DIRECTORIES/d' ${WRKSRC}/doc/Doxyfile.in
|
|
|
|
.include <bsd.port.post.mk>
|