aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rebler/Makefile
blob: 1505663defca1c704a01e51ef32a63055398fb5f (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
# ex:ts=8
# New ports collection makefile for:    rebler
# Date created:         Nov 3, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   rebler
PORTVERSION=    1.0
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    mpeg2:${PORTSDIR}/multimedia/libmpeg2 \
        aviplay.0:${PORTSDIR}/multimedia/avifile \
        popt:${PORTSDIR}/devel/popt

USE_BZIP2=  yes
AVIFILE_CONFIG?=    ${LOCALBASE}/bin/avifile-config
CFLAGS+=    -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
        `${AVIFILE_CONFIG} --cflags`
LIBS+=      -L${LOCALBASE}/lib -lm -lmpeg2 ${PTHREAD_LIBS} \
        `${AVIFILE_CONFIG} --libs` -lpopt

do-build:
    @(cd ${WRKSRC} ; \
      ${CXX} ${CXXFLAGS} rebler.cpp -o rebler ${LIBS})

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/rebler ${PREFIX}/bin

.include <bsd.port.mk>