2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2006/02/05 23:10:17 joerg Exp $
|
2004-02-24 22:47:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mpeg_encode-1.5b-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 4
|
2004-02-24 22:47:17 +01:00
|
|
|
CATEGORIES= multimedia net
|
|
|
|
MASTER_SITES= ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/
|
|
|
|
|
2005-02-21 21:26:08 +01:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2004-02-24 22:47:17 +01:00
|
|
|
HOMEPAGE= http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html
|
|
|
|
COMMENT= The Parallel Berkeley MPEG Encoder
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mpeg_encode
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin man/man1
|
2004-02-24 22:47:17 +01:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/convert && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
|
|
|
|
|
|
do-install:
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
|
2004-02-24 22:47:17 +01:00
|
|
|
.for i in eyuvtojpeg jmovie2jpeg mpeg_demux
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/convert/${i} ${PREFIX}/bin
|
2004-02-24 22:47:17 +01:00
|
|
|
.endfor
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpeg_encode
|
2004-02-24 22:47:17 +01:00
|
|
|
.for i in EXTENSIONS INPUT.FORMAT mpeg_encode.1 parallel.param param-summary \
|
|
|
|
template.param users-guide.fm users-guide.mif users-guide.ps
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/mpeg_encode
|
2004-02-24 22:47:17 +01:00
|
|
|
.endfor
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mpeg_encode
|
2004-02-24 22:47:17 +01:00
|
|
|
cd ${WRKSRC}/examples ; for i in * ; do \
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/share/examples/mpeg_encode; \
|
2004-02-24 22:47:17 +01:00
|
|
|
done
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1
|
2004-02-24 22:47:17 +01:00
|
|
|
|
2004-04-18 09:07:06 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2004-02-24 22:47:17 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|