aboutsummaryrefslogtreecommitdiff
path: root/multimedia/linux-divx4linux4
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 /multimedia/linux-divx4linux4
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
Diffstat (limited to 'multimedia/linux-divx4linux4')
-rw-r--r--multimedia/linux-divx4linux4/Makefile7
1 files changed, 6 insertions, 1 deletions
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