aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vamps/Makefile
blob: a0f4c1ad3fa1f474da648e61d48847af39b65310 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    vamps
# Date created:     Fri Dec 16 04:38:13 UTC 2005
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vamps
PORTVERSION=    0.99.2
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= vamps

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    High performance tool to transcode DVD videos to a smaller size

LIB_DEPENDS=    dvdread.5:${PORTSDIR}/multimedia/libdvdread

USE_GMAKE=  yes
MAKE_ENV=   LDFLAGS="${LDFLAGS}"

CFLAGS+=    -DHAVE_BUILTIN_EXPECT \
        -I${LOCALBASE}/include \
        ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib \
        ${PTHREAD_LIBS}

PROGRAM_FILES=  \
        play_cell/play_cell \
        vamps/vamps

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

do-install:
.for program in ${PROGRAM_FILES}
    @${INSTALL_PROGRAM} ${WRKSRC}/${program} ${PREFIX}/bin/${program:H}
.endfor

.include <bsd.port.mk>