- Support staging

- Convert to new LIB_DEPENDS format
- Use options helpers
This commit is contained in:
Guido Falsi 2013-09-29 10:55:55 +00:00
parent 77cf5b0220
commit 8cac5136e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328673

View file

@ -12,7 +12,7 @@ COMMENT= VDPAU-based backend for VAAPI
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= vdpau:${PORTSDIR}/multimedia/libvdpau
LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libva.pc:${PORTSDIR}/multimedia/libva \
${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
@ -26,13 +26,7 @@ CPPFLAGS+= -isystem${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DEBUG
NO_STAGE= yes
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDEBUG)
CONFIGURE_ARGS+= --disable-debug
.endif
DEBUG_CONFIGURE_ENABLE= debug
.include <bsd.port.pre.mk>