pkgsrc/multimedia/vls/Makefile

38 lines
991 B
Makefile

# $NetBSD: Makefile,v 1.14 2009/02/27 22:38:34 wiz Exp $
#
DISTNAME= vls-0.5.6
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://download.videolan.org/pub/videolan/vls/0.5.6/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.videolan.org/
COMMENT= VideoLAN Server
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
# two versions of 0.5.6 out
DIST_SUBDIR= ${PKGNAME_NOREV}
CONFIGURE_ARGS+= --with-dvbpsi=${BUILDLINK_PREFIX.libdvbpsi}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
CXXFLAGS+= -D__STDC_LIMIT_MACROS
.endif
ALL_ENV+= CCFLAGS=${CXXFLAGS:M*:Q}
EGDIR= ${PREFIX}/share/examples/vls
CONF_FILES= ${EGDIR}/vls.cfg ${PKG_SYSCONFDIR}/vls.cfg
.include "../../multimedia/libdvdplay/buildlink3.mk"
.include "../../multimedia/libdvbpsi/buildlink3.mk"
.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"