aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-25 15:18:01 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-25 15:18:01 +0000
commitf0e5d582fe8351cc9c43ec3b0dbd2aec866de20e (patch)
treee3d41ef526fc5827fba8ad2d36970122d4bdaf50 /multimedia
parent2eca7e4753094729304681caee3fae8aa331e848 (diff)
downloadports-f0e5d582fe8351cc9c43ec3b0dbd2aec866de20e.tar.gz
ports-f0e5d582fe8351cc9c43ec3b0dbd2aec866de20e.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xvid/Makefile7
-rw-r--r--multimedia/xvid/files/patch-configure10
2 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile
index 4f4b48ba9a28..bcfa3c8ad931 100644
--- a/multimedia/xvid/Makefile
+++ b/multimedia/xvid/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xvid
PORTVERSION= 1.3.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xvid.org/downloads/
@@ -11,6 +12,9 @@ DISTNAME= ${PORTNAME}core-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Opensource MPEG-4 codec, based on OpenDivx
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKDIR}/xvidcore/LICENSE
+
USES= gmake
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
@@ -41,6 +45,7 @@ CFLAGS= # let xvid's build system decide about those
.endif
post-install:
- @ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${STAGEDIR}${PREFIX}/lib/libxvidcore.so
+ @${LN} -sf libxvidcore.so.4 ${STAGEDIR}${PREFIX}/lib/libxvidcore.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxvidcore.so
.include <bsd.port.post.mk>
diff --git a/multimedia/xvid/files/patch-configure b/multimedia/xvid/files/patch-configure
index a9edc2f516e0..a439f2644daf 100644
--- a/multimedia/xvid/files/patch-configure
+++ b/multimedia/xvid/files/patch-configure
@@ -1,8 +1,8 @@
---- configure.orig Mon Aug 11 17:59:21 2003
-+++ configure Mon Aug 11 17:59:37 2003
-@@ -3660,7 +3660,7 @@
- echo "$as_me:$LINENO: result: -Wl,-soname,libxvidcore.so -shared -lc -lm" >&5
- echo "${ECHO_T}-Wl,-soname,libxvidcore.so -shared -lc -lm" >&6
+--- configure.orig 2011-05-23 10:22:01 UTC
++++ configure
+@@ -4332,7 +4332,7 @@ $as_echo "ok" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+ $as_echo "ok" >&6; }
STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
- SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
+ SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR)"