aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xvid
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-24 19:15:26 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-24 19:15:26 +0000
commit544c850df695860182d41031d7f34ee5227663f9 (patch)
tree302ec91ac230fe016609ebe429a33a60e6d0b891 /multimedia/xvid
parent089b0c2df1ca82e689aa3608de37a047c78a65d3 (diff)
downloadports-544c850df695860182d41031d7f34ee5227663f9.tar.gz
ports-544c850df695860182d41031d7f34ee5227663f9.zip
Notes
Diffstat (limited to 'multimedia/xvid')
-rw-r--r--multimedia/xvid/Makefile9
-rw-r--r--multimedia/xvid/pkg-plist2
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