openbsd-ports/net/ushare/Makefile

50 lines
1000 B
Makefile
Raw Normal View History

2010-12-24 05:40:04 -05:00
# $OpenBSD: Makefile,v 1.7 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
2010-12-24 05:40:04 -05:00
REVISION= 2
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
2010-11-11 12:20:27 -05:00
WANTLIB += c pthread ixml threadutil upnp
MASTER_SITES= ${HOMEPAGE}releases/
MODULES= devel/gettext
2010-11-19 17:31:32 -05:00
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>