blob: 8e95c021ff7e85cbbca6e9128b835d84c169818d (
plain)
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
|
# $NetBSD: Makefile,v 1.38 2008/03/16 11:56:49 wiz Exp $
PKGNAME= mencoder-${MPLAYER_PKG_VERSION}
PKGREVISION= 2
COMMENT= Simple movie encoder for MPlayer-playable movies
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/mplayer-share/Makefile.common"
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
BUILD_TARGET= mencoder
MANCOMPRESSED_IF_MANZ= 1
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${DESTDIR}${PREFIX}/bin
if [ X"${MANZ}" = X"" ]; then \
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \
else \
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \
fi
.include "../../multimedia/mplayer-share/Makefile.depends"
.include "../../mk/bsd.pkg.mk"
.include "../../multimedia/mplayer-share/Makefile.cflags"
|