aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/linux-divx4linux4
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-12-26 22:11:04 +0800
committerlioux <lioux@FreeBSD.org>2005-12-26 22:11:04 +0800
commit71c9a7ebb7c1cd57a3070bf4ad455984c07e1a36 (patch)
tree425541899499e916774ab1e9744d9f78a751aeb7 /multimedia/linux-divx4linux4
parent1a70ee8a8497e1e5f8b984b7fc2e38f411d2f077 (diff)
downloadfreebsd-ports-gnome-71c9a7ebb7c1cd57a3070bf4ad455984c07e1a36.tar.gz
freebsd-ports-gnome-71c9a7ebb7c1cd57a3070bf4ad455984c07e1a36.tar.zst
freebsd-ports-gnome-71c9a7ebb7c1cd57a3070bf4ad455984c07e1a36.zip
o Properly Linux brandelf(1) shared libraries
o Bump PORTREVISION
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