aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xvid/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:18:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-25 23:18:01 +0800
commit7063539467856f2a892a9290fb4f19f322b6c023 (patch)
treee3d41ef526fc5827fba8ad2d36970122d4bdaf50 /multimedia/xvid/Makefile
parent9bdea3f0c207c70440877e7acce13ded240943e6 (diff)
downloadfreebsd-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`
Diffstat (limited to 'multimedia/xvid/Makefile')
-rw-r--r--multimedia/xvid/Makefile7
1 files changed, 6 insertions, 1 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>