diff options
Diffstat (limited to 'multimedia/xvid')
-rw-r--r-- | multimedia/xvid/Makefile | 9 | ||||
-rw-r--r-- | multimedia/xvid/pkg-plist | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile index c96bd96a25e0..addcf701c23d 100644 --- a/multimedia/xvid/Makefile +++ b/multimedia/xvid/Makefile @@ -7,6 +7,7 @@ PORTNAME= xvid PORTVERSION= 0.20020412 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.xvid.org/snapshots/ DISTNAME= xvid_snapshot_${PORTVERSION:S/^0.//} @@ -23,6 +24,9 @@ INSTALLS_SHLIB= yes CONFIGURE_WRKSRC= ${WRKDIR} WRKSRC= ${WRKDIR}/xvid_20020412/xvidcore/build/generic +# XXX - compatility header installed for mplayer-devel port's benefit +EXTRA_HEADER_FILES= divx4.h + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @ ${ECHO_MSG} "You can enable additional compilation optimizations" @@ -50,5 +54,10 @@ do-install: @ ${INSTALL_DATA} ${WRKSRC}/libcore.a ${PREFIX}/lib/libcore.a @ ${LN} -s libxvidcore.so.0 ${PREFIX}/lib/libxvidcore.so @ ${INSTALL_DATA} ${WRKSRC}/../../src/xvid.h ${PREFIX}/include +# XXX - compatility header installed for mplayer-devel port's benefit + @ ${MKDIR} ${PREFIX}/include/xvid +.for header in ${EXTRA_HEADER_FILES} + @ ${INSTALL_DATA} ${WRKSRC}/../../src/${header} ${PREFIX}/include/xvid +.endfor .include <bsd.port.mk> diff --git a/multimedia/xvid/pkg-plist b/multimedia/xvid/pkg-plist index 1cd58140b8cb..6e2091d69c8e 100644 --- a/multimedia/xvid/pkg-plist +++ b/multimedia/xvid/pkg-plist @@ -1,4 +1,6 @@ include/xvid.h +include/xvid/divx4.h lib/libcore.a lib/libxvidcore.so lib/libxvidcore.so.0 +@dirrm include/xvid |