mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
convmv: bump version, remove old bep/patch files (#1358)
This commit is contained in:
committed by
Jérôme Duval
parent
7eee9f321f
commit
d9db9a0f54
@@ -1,32 +0,0 @@
|
||||
DESCRIPTION="converts filenames from one encoding to another"
|
||||
HOMEPAGE="https://www.j3e.de/linux/convmv/"
|
||||
SOURCE_URI="https://www.j3e.de/linux/convmv/convmv-1.15.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-lang/perl >= 5.8"
|
||||
CHECKSUM_MD5="b1bb703c08c6355868d15890ff193f7d"
|
||||
BUILD()
|
||||
{
|
||||
cd convmv-1.15
|
||||
sed -i "s#/usr/bin/perl#`finddir B_COMMON_BIN_DIRECTORY`/perl#" convmv
|
||||
make \
|
||||
PREFIX=`finddir B_COMMON_DIRECTORY` \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd convmv-1.15
|
||||
make install \
|
||||
PREFIX=`finddir B_COMMON_DIRECTORY` \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd convmv-1.15
|
||||
make test
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2003-2011 Bjoern JACKE"
|
||||
52
app-text/convmv/convmv-2.01.recipe
Normal file
52
app-text/convmv/convmv-2.01.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="Convert filenames from one encoding to another"
|
||||
DESCRIPTION="convmv is meant to help convert a single filename, a directory \
|
||||
tree and the contained files or a whole filesystem into a different encoding. \
|
||||
It just converts the filenames, not the content of the files. A special \
|
||||
feature of convmv is that it also takes care of symlinks, also converts the \
|
||||
symlink target pointer in case the symlink target is being converted too."
|
||||
HOMEPAGE="https://www.j3e.de/linux/convmv/"
|
||||
COPYRIGHT="2003-2017 Bjoern JACKE"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.j3e.de/linux/convmv/convmv-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="782ac06982aeaf8ff3ab8fc42cb49cb8bc562dbd1e97ef7e17bedcf3ecf2483a"
|
||||
PATCHES="convmv-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
convmv = $portVersion
|
||||
cmd:convmv
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:which
|
||||
#needed to perform the test
|
||||
cmd:diff
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix MANDIR=$manDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix MANDIR=$manDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
diff -ur convmv-1.15.org/Makefile convmv-1.15/Makefile
|
||||
--- convmv-1.15.org/Makefile 2008-11-29 14:49:38.012845056 +0100
|
||||
+++ convmv-1.15/Makefile 2012-04-21 02:00:10.777519104 +0200
|
||||
@@ -6,6 +6,7 @@
|
||||
SED=sed
|
||||
|
||||
all: manpage
|
||||
+ sed -i "s#/usr/bin/perl#`which perl`#" convmv
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(MANDIR)/man1/
|
||||
@@ -22,6 +23,7 @@
|
||||
|
||||
test:
|
||||
test -d suite || $(TAR) xf testsuite.tar
|
||||
+ sed -i "s#/usr/bin/perl#`which perl`#" suite/parsable_tester.pl
|
||||
cd suite ; ./dotests.sh
|
||||
|
||||
dist: clean
|
||||
29
app-text/convmv/patches/convmv-2.01.patchset
Normal file
29
app-text/convmv/patches/convmv-2.01.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
From f1f6e6e81e17d7ef0933c54c6f8f3b4d7e57cb7d Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 21 May 2017 07:30:19 +0200
|
||||
Subject: import patch from v1.15
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index fdaf8bf..3df0c70 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -6,6 +6,7 @@ FIND=find
|
||||
SED=sed
|
||||
|
||||
all: manpage
|
||||
+ sed -i 's,/usr/bin/perl,/usr/bin/env perl,g' convmv
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(MANDIR)/man1/
|
||||
@@ -22,6 +23,7 @@ clean:
|
||||
|
||||
test:
|
||||
test -d suite || $(TAR) xf testsuite.tar
|
||||
+ sed -i 's,/usr/bin/perl,/usr/bin/env perl,g' suite/parsable_tester.pl
|
||||
cd suite ; ./dotests.sh
|
||||
|
||||
dist: clean
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user