2013-12-08 03:56:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/12/08 02:56:22 dholland Exp $
|
2008-01-30 20:21:08 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= bsdav-1.4
|
|
|
|
CATEGORIES= multimedia
|
2008-01-30 20:26:00 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2008-01-30 20:21:08 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-01-30 20:21:08 +01:00
|
|
|
HOMEPAGE= http://jakemsr.trancell.org/
|
2008-01-30 20:26:00 +01:00
|
|
|
COMMENT= BSD Audio/Video library and tools
|
2008-01-30 20:21:08 +01:00
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-*-* OpenBSD-*-* DragonFly-*-*
|
|
|
|
|
|
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAKE_ENV+= DIST=${WRKSRC}
|
|
|
|
MAKE_ENV+= MKPICINSTALL=no
|
|
|
|
MAKE_ENV+= MKSTATIC=no
|
2013-12-08 03:56:22 +01:00
|
|
|
MAKE_FLAGS+= MKPROFILE=yes
|
2008-01-30 20:21:08 +01:00
|
|
|
|
2011-09-29 22:24:15 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
|
2008-01-30 20:21:08 +01:00
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.bsdav
|
|
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
|
|
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
|
|
MAKE_ENV+= BUILD_X11PROGS=yes
|
|
|
|
PLIST_SRC+= PLIST.x11
|
|
|
|
. include "../../x11/libXv/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|