diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-25 23:18:01 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-25 23:18:01 +0800 |
commit | 7063539467856f2a892a9290fb4f19f322b6c023 (patch) | |
tree | e3d41ef526fc5827fba8ad2d36970122d4bdaf50 | |
parent | 9bdea3f0c207c70440877e7acce13ded240943e6 (diff) | |
download | freebsd-ports-gnome-7063539467856f2a892a9290fb4f19f322b6c023.tar.gz freebsd-ports-gnome-7063539467856f2a892a9290fb4f19f322b6c023.tar.zst freebsd-ports-gnome-7063539467856f2a892a9290fb4f19f322b6c023.zip |
- Add LICENSE
- Strip library
- Regenerate patches with `make makepatch`
-rw-r--r-- | multimedia/xvid/Makefile | 7 | ||||
-rw-r--r-- | multimedia/xvid/files/patch-configure | 10 |
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)" |