aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-15 21:58:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-15 21:58:20 +0800
commit59ae9529e79efe9807c2fcb975223f4dfde22e7e (patch)
treef827ca992f7830313873f73ad0a4749d27ad1902 /multimedia
parent715a995370effbbeb0515da890cd4dd5cbc76160 (diff)
downloadfreebsd-ports-gnome-59ae9529e79efe9807c2fcb975223f4dfde22e7e.tar.gz
freebsd-ports-gnome-59ae9529e79efe9807c2fcb975223f4dfde22e7e.tar.zst
freebsd-ports-gnome-59ae9529e79efe9807c2fcb975223f4dfde22e7e.zip
- Simplify MASTER_SITES
- Add LICENSE - Strip library (INSTALL_TARGET=install-strip wasn't working) - Drop @dirrm* from plist Approved by: bapt
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smpeg/Makefile10
-rw-r--r--multimedia/smpeg/pkg-plist1
2 files changed, 7 insertions, 4 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index a1239f30e746..ddc5a46a7c15 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -6,14 +6,15 @@ PORTVERSION= 0.4.4
PORTREVISION= 14
CATEGORIES= multimedia
MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO/distfiles
MAINTAINER= acm@FreeBSD.org
COMMENT= Free MPEG1 video player library with sound support
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
USES= gmake libtool
USE_SDL= sdl
USE_LDCONFIG= yes
@@ -28,4 +29,7 @@ CONFIGURE_ARGS= --disable-opengl-player \
--disable-gtk-player \
--enable-mmx
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so
+
.include <bsd.port.mk>
diff --git a/multimedia/smpeg/pkg-plist b/multimedia/smpeg/pkg-plist
index 623d5ff6064f..1cd9225332f3 100644
--- a/multimedia/smpeg/pkg-plist
+++ b/multimedia/smpeg/pkg-plist
@@ -18,4 +18,3 @@ lib/libsmpeg.so
share/aclocal/smpeg.m4
man/man1/gtv.1.gz
man/man1/plaympeg.1.gz
-@dirrm include/smpeg