openbsd-ports/audio/libnjb/Makefile
ajacoutot fcbe5f3ae2 Sync dependencies after move from libusb to libusb-compat and fix a
couple of fallouts. Note that these ports are only the ones that used to
have a direct dependency on devel/libusb so there may be some other
hidden ports that may break because of the switch. If that's the case,
no need to start ranting all over but instead tell me which one(s)
break. Thanks.

Note: sysutils/nut hasn't been fixed yet but will be today.
2011-11-13 13:54:04 +00:00

36 lines
818 B
Makefile

# $OpenBSD: Makefile,v 1.7 2011/11/13 13:54:04 ajacoutot Exp $
COMMENT= communicate with some Creative and Dell audio players
DISTNAME= libnjb-2.2.6
REVISION= 1
SHARED_LIBS= njb 0.0 # .6.0
CATEGORIES= audio devel
HOMEPAGE= http://libnjb.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c curses usb z pthread usb-1.0
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libnjb/}
LIB_DEPENDS= devel/libusb-compat
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libnjb/
${INSTALL_DATA} ${WRKSRC}/{FAQ,HACKING,README} \
${PREFIX}/share/doc/libnjb/
.include <bsd.port.mk>