openbsd-ports/net/ushare/Makefile
ajacoutot 4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00

50 lines
1000 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.8 2010/12/27 14:50:23 ajacoutot Exp $
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
REVISION= 3
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 ixml threadutil upnp
MASTER_SITES= ${HOMEPAGE}releases/
MODULES= devel/gettext
LIB_DEPENDS= net/libupnp
USE_GMAKE= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= simple
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
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>