diff options
author | joerg <joerg@pkgsrc.org> | 2007-12-22 00:05:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-12-22 00:05:25 +0000 |
commit | 6f3e0e9c2697bcecd2594d7807badd91e3c7b835 (patch) | |
tree | 9bcb8c62fd66d09190bf80a7a04b7bedda515494 /multimedia/ffmpeg/Makefile | |
parent | fa5c0b151068f7ee307926bc709644f1e65f7339 (diff) | |
download | pkgsrc-6f3e0e9c2697bcecd2594d7807badd91e3c7b835.tar.gz |
Linux needs -ldl in all cases (from PR 37587).
Add DESTDIR support.
Diffstat (limited to 'multimedia/ffmpeg/Makefile')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 4d55206e295..6582dbac13c 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2007/08/02 21:53:05 dbj Exp $ +# $NetBSD: Makefile,v 1.34 2007/12/22 00:05:25 joerg Exp $ DISTNAME= ffmpeg-0.4.9-pre1 PKGNAME= ffmpeg-0.4.9pre1 @@ -10,6 +10,8 @@ MAINTAINER= zul@NetBSD-fr.org HOMEPAGE= http://ffmpeg.mplayerhq.hu/ COMMENT= MPEG decoding, encoding and streaming software +PKG_DESTDIR_SUPPORT= user-destdir + HAS_CONFIGURE= YES CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} USE_TOOLS+= gmake texi2html pod2man @@ -31,25 +33,21 @@ CONFIGURE_ARGS+= --enable-pp --disable-vhook --disable-debug CONFIGURE_ARGS+= --enable-gpl CONFIGURE_ARGS+= --enable-ffplay +INSTALLATION_DIRS= include/ffmpeg/libpostproc lib \ + share/examples/ffmpeg share/doc/ffmpeg + .include "options.mk" post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffmpeg \ - ${PREFIX}/share/doc/ffmpeg \ - ${PREFIX}/include/ffmpeg/libpostproc ${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \ - ${PREFIX}/share/doc/ffmpeg + ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \ - ${PREFIX}/share/doc/ffmpeg - ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/ffmpeg + ${DESTDIR}${PREFIX}/share/doc/ffmpeg + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/ffmpeg ${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \ - ${PREFIX}/share/examples/ffmpeg - # ffplay not installed - if [ -f ${PREFIX}/${PKGMANDIR}/man1/ffplay.1 ]; then \ - ${RM} ${PREFIX}/${PKGMANDIR}/man1/ffplay.1 ; \ - fi + ${DESTDIR}${PREFIX}/share/examples/ffmpeg ${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \ - ${PREFIX}/include/ffmpeg/libpostproc + ${DESTDIR}${PREFIX}/include/ffmpeg/libpostproc .include "../../devel/libgetopt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |