aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/linux-divx4linux/Makefile6
-rw-r--r--multimedia/linux-divx4linux4/Makefile7
2 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/linux-divx4linux/Makefile b/multimedia/linux-divx4linux/Makefile
index 09deeeb7c794..6c05a3d23d50 100644
--- a/multimedia/linux-divx4linux/Makefile
+++ b/multimedia/linux-divx4linux/Makefile
@@ -7,7 +7,7 @@
PORTNAME= divx4linux
PORTVERSION= 5.0.${RELEASE_DATE}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia linux
MASTER_SITES= http://download.divx.com/divx/
PKGNAMEPREFIX= linux-
@@ -34,6 +34,10 @@ post-patch:
@${REINPLACE_CMD} -e "s/ //" ${WRKSRC}/*.${ext}
.endfor
+pre-install:
+# elf branding
+ @${BRANDELF} -t Linux ${WRKSRC}/*.so
+
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/usr/share/doc/${PKGNAME}
diff --git a/multimedia/linux-divx4linux4/Makefile b/multimedia/linux-divx4linux4/Makefile
index 6b4c1dfe5ebf..bc7b99cdfebc 100644
--- a/multimedia/linux-divx4linux4/Makefile
+++ b/multimedia/linux-divx4linux4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= divx4linux
PORTVERSION= 0.${RELEASE_DATE:S/_/./}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia linux
MASTER_SITES= http://download.divx.com/videocodecs/linux/
PKGNAMEPREFIX= linux-
@@ -37,6 +37,10 @@ post-patch:
@${REINPLACE_CMD} -e "s/ //" ${WRKSRC}/*.${ext}
.endfor
+pre-install:
+# elf branding
+ @${BRANDELF} -t Linux ${WRKSRC}/*.so
+
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/usr/share/doc/${PKGNAME}
@@ -47,6 +51,7 @@ do-install:
# Header file installation
@${MKDIR} ${PREFIX}/usr/include/divx4
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/usr/include/divx4
+# Library file installation
@${MKDIR} ${PREFIX}/usr/lib/divx4
@${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/usr/lib/divx4
@${LINUXBASE}/sbin/ldconfig