2017-09-03 10:36:49 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2017/09/03 08:36:57 wiz Exp $
|
2004-02-24 22:47:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mpeg_encode-1.5b-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2010-01-18 10:58:37 +01:00
|
|
|
PKGREVISION= 6
|
2004-02-24 22:47:17 +01:00
|
|
|
CATEGORIES= multimedia net
|
|
|
|
MASTER_SITES= ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-09-03 10:36:49 +02:00
|
|
|
#HOMEPAGE= http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html
|
2004-02-24 22:47:17 +01:00
|
|
|
COMMENT= The Parallel Berkeley MPEG Encoder
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mpeg_encode
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-02-24 22:47:17 +01:00
|
|
|
|
2014-09-23 16:29:50 +02:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
|
2004-02-24 22:47:17 +01:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/convert && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${DESTDIR}${PREFIX}/bin
|
2004-02-24 22:47:17 +01:00
|
|
|
.for i in eyuvtojpeg jmovie2jpeg mpeg_demux
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/convert/${i} ${DESTDIR}${PREFIX}/bin
|
2004-02-24 22:47:17 +01:00
|
|
|
.endfor
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${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
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${i} \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/mpeg_encode
|
2004-02-24 22:47:17 +01:00
|
|
|
.endfor
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mpeg_encode
|
2004-02-24 22:47:17 +01:00
|
|
|
cd ${WRKSRC}/examples ; for i in * ; do \
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_DATA} $$i \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/mpeg_encode; \
|
2004-02-24 22:47:17 +01:00
|
|
|
done
|
2008-03-04 20:32:30 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2004-02-24 22:47:17 +01:00
|
|
|
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2004-02-24 22:47:17 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|