aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-10-11 17:38:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-10-11 17:38:40 +0800
commitab5b3cd384c68a52dad3348f4e01922ea5300fc2 (patch)
tree3996fc69df8821c1126f80f2c555b0ce39099eb7 /multimedia
parent9f1d2dc639e2a3e5cdb1c9591a2912617c5c8894 (diff)
downloadfreebsd-ports-gnome-ab5b3cd384c68a52dad3348f4e01922ea5300fc2.tar.gz
freebsd-ports-gnome-ab5b3cd384c68a52dad3348f4e01922ea5300fc2.tar.zst
freebsd-ports-gnome-ab5b3cd384c68a52dad3348f4e01922ea5300fc2.zip
- Fix LICENSE
- Add LICENSE_FILE - Pet portlint - Add NO_ARCH - Simplify installation - Update WWW
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/openshot/Makefile14
-rw-r--r--multimedia/openshot/pkg-descr2
2 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/openshot/Makefile b/multimedia/openshot/Makefile
index 528e73c69bed..c543c4bcea65 100644
--- a/multimedia/openshot/Makefile
+++ b/multimedia/openshot/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://launchpad.net/openshot/${PORTVERSION:C/\.[0-9]+$//}/${PORTV
MAINTAINER= ports@FreeBSD.org
COMMENT= Non-linear video editor
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
frei0r-plugins>=0:graphics/frei0r-plugins \
@@ -22,19 +23,20 @@ RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
scrollkeeper-install:textproc/rarian \
sox:audio/sox
+USES= desktop-file-utils gettext python:2.7 shared-mime-info
USE_GNOME= pygtk2
USE_PYTHON= distutils
-USES= desktop-file-utils gettext python:2.7 shared-mime-info
INSTALLS_OMF= yes
+NO_ARCH= yes
post-patch:
@${FIND} ${WRKSRC}/docs/omf -name '*.omf' | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|g'
pre-install:
- (${MKDIR} ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME} && \
- cd ${WRKSRC}/docs/omf && ${COPYTREE_SHARE} \*.omf ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME})
- (${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME} && \
- cd ${WRKSRC}/docs/gnome && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME})
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/docs/omf/*.omf ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME}
+ @cd ${WRKSRC}/docs/gnome && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME}
.include <bsd.port.mk>
diff --git a/multimedia/openshot/pkg-descr b/multimedia/openshot/pkg-descr
index 507e0097a17d..885fcd62f581 100644
--- a/multimedia/openshot/pkg-descr
+++ b/multimedia/openshot/pkg-descr
@@ -9,4 +9,4 @@ be layered, mixed, and arranged in very creative ways. All
video clip edits (trimming, cutting, etc...) are non-destructive,
meaning that the original video clips are never modified.
-WWW: http://www.openshot.org/
+WWW: https://www.openshot.org/