aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-12-26 14:11:04 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-12-26 14:11:04 +0000
commita567364f441931b5f88a66956ad7936c55daa896 (patch)
tree35b70ffe1ec532b3e69bf3aa49b09aa3169c483f
parente88fd8add54154b6f99b83d68fbbbcb3bb15aee2 (diff)
downloadports-a567364f441931b5f88a66956ad7936c55daa896.tar.gz
ports-a567364f441931b5f88a66956ad7936c55daa896.zip
o Properly Linux brandelf(1) shared libraries
o Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=152103
-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