PORTNAME=	vamps
PORTVERSION=	0.99.2
PORTREVISION=	10
CATEGORIES=	multimedia
MASTER_SITES=	SF/${PORTNAME}/Vamps/${PORTVERSION}

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	High performance tool to transcode DVD videos to a smaller size
WWW=		https://vamps.sourceforge.net/

LIB_DEPENDS=	libdvdread.so:multimedia/libdvdread

USES=		gmake

CFLAGS+=	-DHAVE_BUILTIN_EXPECT -I${LOCALBASE}/include
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib

PROGRAM_FILES=	play_cell/play_cell \
		vamps/vamps

PLIST_FILES=	${PROGRAM_FILES:H:S,^,bin/,}

do-install:
	(cd ${WRKSRC} && \
		${INSTALL_PROGRAM} ${PROGRAM_FILES} ${STAGEDIR}${PREFIX}/bin)

.include <bsd.port.mk>
