openbsd-ports/net/ushare/Makefile
ajacoutot 15449dfe44 Import ushare-1.1a
uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server
component that provides UPnP media devices with information on available
multimedia files. uShare uses the built-in http server of libupnp to
stream the files to clients.

GeeXboX uShare is able to provide access to both images, videos, music
or playlists files (see below for a complete file format support list
It does not act as an UPnP Media Adaptor and thus, can't transcode
streams to fit the client requirements.

Note that DLNA support is not enabled on OpenBSD.
2010-03-22 22:26:59 +00:00

50 lines
1018 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2010/03/22 22:26:59 ajacoutot Exp $
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net multimedia
HOMEPAGE= http://ushare.geexbox.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c pthread
MASTER_SITES= ${HOMEPAGE}releases/
MODULES= devel/gettext
LIB_DEPENDS= ixml,threadutil,upnp::net/libupnp
USE_GMAKE= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= simple
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv" \
MAKE=${MAKE_PROGRAM}
CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} \
--with-libupnp-dir=${LOCALBASE}/lib \
--disable-optimize \
--disable-dlna
CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC} -DBSD -D__unix__
FAKE_FLAGS= sysconfdir=${WRKINST}${PREFIX}/share/examples/ushare
.ifdef DEBUG
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif
.include <bsd.port.mk>