44 lines
916 B
Makefile
44 lines
916 B
Makefile
# $NetBSD: Makefile,v 1.4 2011/09/29 20:24:15 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= bsdav-1.4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://jakemsr.trancell.org/
|
|
COMMENT= BSD Audio/Video library and tools
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
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"
|