30 lines
797 B
Makefile
30 lines
797 B
Makefile
# $NetBSD: Makefile,v 1.24 2006/02/05 23:10:17 joerg Exp $
|
|
|
|
PKGNAME= mencoder-${MPLAYER_PKG_VERSION}
|
|
PKGREVISION= 3
|
|
|
|
COMMENT= Simple movie encoder for MPlayer-playable movies
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
|
|
|
|
BUILD_TARGET= mencoder
|
|
|
|
MANCOMPRESSED_IF_MANZ= 1
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${PREFIX}/bin
|
|
if [ X"${MANZ}" = X"" ]; then \
|
|
${LN} -s -f ${PREFIX}/man/man1/mplayer.1 \
|
|
${PREFIX}/man/man1/mencoder.1; \
|
|
else \
|
|
${LN} -s -f ${PREFIX}/man/man1/mplayer.1.gz \
|
|
${PREFIX}/man/man1/mencoder.1.gz; \
|
|
fi
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|