aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smplayer
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-01-23 17:05:17 +0800
committernemysis <nemysis@FreeBSD.org>2014-01-23 17:05:17 +0800
commitfe3e3e09cd03e969af15afdb32e1ac11eeb950be (patch)
tree341e488b8cff35a0c4e81f713ba15a5da459c178 /multimedia/smplayer
parent982c6a772f8081b8abe98e44707e5f3b33a2922f (diff)
downloadfreebsd-ports-gnome-fe3e3e09cd03e969af15afdb32e1ac11eeb950be.tar.gz
freebsd-ports-gnome-fe3e3e09cd03e969af15afdb32e1ac11eeb950be.tar.zst
freebsd-ports-gnome-fe3e3e09cd03e969af15afdb32e1ac11eeb950be.zip
- Take maintainership
- Add licenses (GPLv2) - Add USES desktop-file-utils, dos2unix and DOS2UNIX_REGEX - Remove not needed DOCS - Fix typo (tabulator) - Change pkg-descr Approved by: maintainer (private email)
Diffstat (limited to 'multimedia/smplayer')
-rw-r--r--multimedia/smplayer/Makefile23
-rw-r--r--multimedia/smplayer/pkg-descr6
2 files changed, 15 insertions, 14 deletions
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile
index da0b3486c437..af700fc2362c 100644
--- a/multimedia/smplayer/Makefile
+++ b/multimedia/smplayer/Makefile
@@ -7,9 +7,11 @@ PORTREVISION= 1
CATEGORIES= multimedia audio kde
MASTER_SITES= SF/${PORTNAME}/SMPlayer/${PORTVERSION}
-MAINTAINER= dhn@FreeBSD.org
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Complete front-end based on Qt4 for mplayer
+LICENSE= GPLv2
+
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-skins \
${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-themes
@@ -21,24 +23,23 @@ ALL_TARGET= src/smplayer
CONFIGURE_WRKSRC= ${WRKSRC}/src
MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR}
-USES= gmake qmake
USE_BZIP2= yes
+USES= desktop-file-utils dos2unix gmake qmake
+DOS2UNIX_REGEX= .*.[^p][^n][^g]$
INSTALLS_ICONS= yes
-PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \
- Readme.txt Release_notes.txt
+PORTDOCS= Changelog Not_so_obvious_things.txt Readme.txt \
+ Release_notes.txt Watching_TV.txt
OPTIONS_DEFINE= DOCS
-SUB_FILES= pkg-message
-
-.include <bsd.port.options.mk>
+SUB_FILES= pkg-message
post-patch:
- @${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||' \
- -e 's|lrelease|${LRELEASE}|g' \
- -e 's,/share/man,/man,g' \
- -e 's, make, ${MAKE_CMD},g' \
+ @${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||; \
+ s|lrelease|${LRELEASE}|; \
+ s|/share/man|/man|g; \
+ s| make| ${MAKE_CMD}|g' \
${WRKSRC}/Makefile
post-install:
diff --git a/multimedia/smplayer/pkg-descr b/multimedia/smplayer/pkg-descr
index 4244ac91631a..1187149d0ff9 100644
--- a/multimedia/smplayer/pkg-descr
+++ b/multimedia/smplayer/pkg-descr
@@ -1,5 +1,5 @@
-smplayer intents to be a complete front-end for mplayer,from
-basic features like playing videos, dvds, vcdsto more advancing
-features like support for mplayer filters,edl lists, and more.
+SMPlayer intends to be a complete front-end for MPlayer, from basic
+features like playing videos, DVDs, and VCDs to more advanced features
+like support for MPlayer filters and more.
WWW: http://smplayer.sourceforge.net/