diff options
Diffstat (limited to 'multimedia/mencoder/Makefile')
-rw-r--r-- | multimedia/mencoder/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/multimedia/mencoder/Makefile b/multimedia/mencoder/Makefile index d4a0089c3ce..291d91cc819 100644 --- a/multimedia/mencoder/Makefile +++ b/multimedia/mencoder/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2007/09/13 19:16:02 drochner Exp $ +# $NetBSD: Makefile,v 1.35 2007/12/15 15:54:49 heinz Exp $ PKGNAME= mencoder-${MPLAYER_PKG_VERSION} @@ -6,6 +6,8 @@ PKGREVISION= 5 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 @@ -16,13 +18,13 @@ MANCOMPRESSED_IF_MANZ= 1 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${DESTDIR}${PREFIX}/bin if [ X"${MANZ}" = X"" ]; then \ - ${LN} -s -f ${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \ - ${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \ + ${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \ else \ - ${LN} -s -f ${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \ - ${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \ + ${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \ fi .include "../../multimedia/mplayer-share/Makefile.depends" |