pkgsrc/multimedia/vls/Makefile

36 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.15 2012/10/08 09:21:14 asau 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
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"