1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/rebler/Makefile
Mario Sergio Fujikawa Ferreira 6f2f24073a Chase avifile port lib version
2002-11-30 13:54:32 +00:00

36 lines
817 B
Makefile

# 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>