diff --git a/audio/libnjb/Makefile b/audio/libnjb/Makefile new file mode 100644 index 00000000000..a3706a229dc --- /dev/null +++ b/audio/libnjb/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/01/07 19:34:57 jasper Exp $ + +COMMENT= "communicate with some Creative and Dell audio players" + +DISTNAME= libnjb-2.2.5 +SHARED_LIBS= njb 0.0 # .6.0 +CATEGORIES= audio devel + +HOMEPAGE= http://libnjb.sourceforge.net/ + +MAINTAINER= Jasper Lievisse Adriaanse + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +WANTLIB= c curses z + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libnjb/} + +LIB_DEPENDS= usb.>=8::devel/libusb + +USE_LIBTOOL= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" +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 diff --git a/audio/libnjb/distinfo b/audio/libnjb/distinfo new file mode 100644 index 00000000000..9f938e21369 --- /dev/null +++ b/audio/libnjb/distinfo @@ -0,0 +1,4 @@ +MD5 (libnjb-2.2.5.tar.gz) = f7461574b9a28ed1c79fb40d3d307d78 +RMD160 (libnjb-2.2.5.tar.gz) = a3a536e679482a665cdfd23cde73db8b32d5904f +SHA1 (libnjb-2.2.5.tar.gz) = 818b3134116937dc5ef8f81939cf21e6a9b451b0 +SIZE (libnjb-2.2.5.tar.gz) = 495780 diff --git a/audio/libnjb/pkg/DESCR b/audio/libnjb/pkg/DESCR new file mode 100644 index 00000000000..28d41272971 --- /dev/null +++ b/audio/libnjb/pkg/DESCR @@ -0,0 +1,3 @@ +Provide a user-level API (C library) for communicating with the Creative +Nomad JukeBox MP3 player under Linux, *BSD and Windows, as well as +simple command-line utilities to demonstrate the API functions. diff --git a/audio/libnjb/pkg/PFRAG.shared b/audio/libnjb/pkg/PFRAG.shared new file mode 100644 index 00000000000..7b9d084f691 --- /dev/null +++ b/audio/libnjb/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/01/07 19:34:57 jasper Exp $ +@lib lib/libnjb.so.${LIBnjb_VERSION} diff --git a/audio/libnjb/pkg/PLIST b/audio/libnjb/pkg/PLIST new file mode 100644 index 00000000000..2d733f1548c --- /dev/null +++ b/audio/libnjb/pkg/PLIST @@ -0,0 +1,33 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/01/07 19:34:57 jasper Exp $ +%%SHARED%% +bin/njb-cursesplay +bin/njb-delfile +bin/njb-deltr +bin/njb-dumpeax +bin/njb-dumptime +bin/njb-files +bin/njb-fwupgrade +bin/njb-getfile +bin/njb-getowner +bin/njb-gettr +bin/njb-getusage +bin/njb-handshake +bin/njb-pl +bin/njb-play +bin/njb-playlists +bin/njb-sendfile +bin/njb-sendtr +bin/njb-setowner +bin/njb-setpbm +bin/njb-settime +bin/njb-tagtr +bin/njb-tracks +include/libnjb.h +lib/libnjb.a +lib/libnjb.la +lib/pkgconfig/ +lib/pkgconfig/libnjb.pc +share/doc/libnjb/ +share/doc/libnjb/FAQ +share/doc/libnjb/HACKING +share/doc/libnjb/README