aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vamps/Makefile
blob: 9961834e09edf665c6d250c651a336bd8f87c286 (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=   2
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.4:${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>