pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ffxvid: imported ffxvid-1.4.0



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Thu Sep 26 17:55:10 2019 +0200
Changeset:	e2c94ceb24a67f1ec785b1bbee74cce6b39a13fb

Added Files:
	ffxvid/DESCR
	ffxvid/Makefile
	ffxvid/PLIST
	ffxvid/distinfo
	ffxvid/patches/patch-Makefile

Log Message:
ffxvid: imported ffxvid-1.4.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e2c94ceb24a67f1ec785b1bbee74cce6b39a13fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ffxvid/DESCR                  |  4 ++++
 ffxvid/Makefile               | 20 ++++++++++++++++++++
 ffxvid/PLIST                  |  9 +++++++++
 ffxvid/distinfo               |  7 +++++++
 ffxvid/patches/patch-Makefile | 38 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 78 insertions(+)

diffs:
diff --git a/ffxvid/DESCR b/ffxvid/DESCR
new file mode 100644
index 0000000000..0d13421769
--- /dev/null
+++ b/ffxvid/DESCR
@@ -0,0 +1,4 @@
+A small yet quite capable Bash shell script written for Linux for encoding video
+files to the MPEG4 Part 2/Xvid video format using the ffmpeg encoder. Targeted
+primarily at encoding of full-length feature films and film series but it can be
+used for other content as well.
diff --git a/ffxvid/Makefile b/ffxvid/Makefile
new file mode 100644
index 0000000000..5599e232ca
--- /dev/null
+++ b/ffxvid/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	ffxvid-1.4.0
+CATEGORIES=	multimedia
+MASTER_SITES=	https://downloads.sourceforge.net/sourceforge/ffxvid/
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	https://downloads.sourceforge.net/sourceforge/ffxvid
+COMMENT=	Small script to encode to Xvid video
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	# none
+
+do-build:
+
+do-install:
+	cd ${WRKSRC} && ${MAKE} PREFIX=${PREFIX} DESTDIR=${DESTDIR} MANDIR=${PREFIX}/${PKGMANDIR}
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ffxvid/PLIST b/ffxvid/PLIST
new file mode 100644
index 0000000000..5137a8c610
--- /dev/null
+++ b/ffxvid/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/ffxvid
+man/ffxvid.1
+share/doc/ffxvid/AUTHORS
+share/doc/ffxvid/ChangeLog
+share/doc/ffxvid/HDR_to_SDR_instructions.txt
+share/doc/ffxvid/LICENSE
+share/doc/ffxvid/README
+share/doc/ffxvid/preset.txt
diff --git a/ffxvid/distinfo b/ffxvid/distinfo
new file mode 100644
index 0000000000..2194d7edbc
--- /dev/null
+++ b/ffxvid/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (ffxvid-1.4.0.tar.gz) = 6b268d4de93f238f2497222a430a7203fb8165fd
+RMD160 (ffxvid-1.4.0.tar.gz) = a60bb15ad93e82bb316d286ceeced54760987682
+SHA512 (ffxvid-1.4.0.tar.gz) = 06f28d0589ac3ea89726cc6ed8027fd1e7399ceaa0af64d582a80a2a0ebc22054198e9554d3c8af56789ab85ce79a043eca61d82597259e19c975d6f91d730ba
+Size (ffxvid-1.4.0.tar.gz) = 33565 bytes
+SHA1 (patch-Makefile) = d0efdb88cf4faf2df5ef5b32b1569216933a85f1
diff --git a/ffxvid/patches/patch-Makefile b/ffxvid/patches/patch-Makefile
new file mode 100644
index 0000000000..abf1b044b6
--- /dev/null
+++ b/ffxvid/patches/patch-Makefile
@@ -0,0 +1,38 @@
+$NetBSD$
+
+Adds support for DESTDIR.
+
+--- Makefile.orig	2018-01-04 01:42:34.000000000 +0000
++++ Makefile
+@@ -1,20 +1,21 @@
+ # Makefile for ffxvid
+ 
++DESTDIR=/
+ PREFIX=/usr/local
+ DOCDIR=$(PREFIX)/share/doc
+ MANDIR=$(PREFIX)/share/man/man1
+ 
+ install:
+-	mkdir -p -m 755 $(PREFIX)/bin $(DOCDIR)/ffxvid $(MANDIR)
++	mkdir -p -m 755 $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(DOCDIR)/ffxvid $(DESTDIR)$(MANDIR)
+ 	
+-	cp -f ffxvid $(PREFIX)/bin
+-	chmod 755 $(PREFIX)/bin/ffxvid
+-	cp -f AUTHORS LICENSE README ChangeLog *.txt $(DOCDIR)/ffxvid
+-	chmod 644 $(DOCDIR)/ffxvid/*
+-	cp -f ffxvid.1 $(MANDIR)
+-	gzip -9 -f $(MANDIR)/ffxvid.1
++	cp -f ffxvid $(DESTDIR)$(PREFIX)/bin
++	chmod 755 $(DESTDIR)$(PREFIX)/bin/ffxvid
++	cp -f AUTHORS LICENSE README ChangeLog *.txt $(DESTDIR)$(DOCDIR)/ffxvid
++	chmod 644 $(DESTDIR)$(DOCDIR)/ffxvid/*
++	cp -f ffxvid.1 $(DESTDIR)$(MANDIR)
++	#gzip -9 -f $(DESTDIR)$(MANDIR)/ffxvid.1
+ 
+ uninstall:
+-	rm -f $(PREFIX)/bin/ffxvid
+-	rm -f $(MANDIR)/ffxvid.1.gz
+-	rm -rf $(DOCDIR)/ffxvid
++	rm -f $(DESTDIR)$(PREFIX)/bin/ffxvid
++	rm -f $(DESTDIR)$(MANDIR)/ffxvid.1.gz
++	rm -rf $(DESTDIR)$(DOCDIR)/ffxvid


Home | Main Index | Thread Index | Old Index