Merged in humdinger/haikuports/pecorename (pull request #241)

* Updated pecorename recipe
This commit is contained in:
Augustin Cavalier
2014-10-30 14:24:30 -04:00

View File

@@ -1,9 +1,10 @@
SUMMARY="A powerfull renaming utility" SUMMARY="A powerful renaming utility"
DESCRIPTION=" DESCRIPTION="
PecoRename is a powerfull renaming utility, which allows you to rename many \ PecoRename is a powerful renaming utility, which allows you to rename many \
files according to a preset pattern. files according to a preset pattern. It also installs a Tracker add-on that \
can be invoked on the selected files with the shortcut ALT+OPT+R.
* You can rename your files in many different ways: You can rename your files in many different ways:
* Number your files in order * Number your files in order
* Search and replace * Search and replace
* Delete characters * Delete characters
@@ -11,7 +12,7 @@ files according to a preset pattern.
* Add the suitable file extension according to the file type * Add the suitable file extension according to the file type
* Insert, append or replace text... * Insert, append or replace text...
PecoRename gives you an easy to use interface with a powerfull tool behind it.\ PecoRename gives you an easy to use interface with a powerful tool behind it.\
The changes can be previewed in realtime. The changes can be previewed in realtime.
And - of course - all functions support special chars (like ä, â...). And - of course - all functions support special chars (like ä, â...).
@@ -19,10 +20,10 @@ Whenever you have to rename some or many files the same way, this is YOUR \
program! program!
" "
HOMEPAGE="http://www.maybe.de/software/pecorename" HOMEPAGE="http://www.maybe.de/software/pecorename"
SRC_URI="git://github.com/HaikuArchives/PecoRename#cdca0ce831ab87b209758bcdd4edc4ea66efd660" SRC_URI="git://github.com/HaikuArchives/PecoRename#7f87bac07671a982d3b126da504220dbe22bcecd"
COPYRIGHT="Copyright 2008 Werner Freytag" COPYRIGHT="Copyright 2008 Werner Freytag"
LICENSE="MIT" LICENSE="MIT"
REVISION="1" REVISION="2"
ARCHITECTURES="x86_gcc2 !x86 !x86_64" ARCHITECTURES="x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86" SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
@@ -31,30 +32,33 @@ PROVIDES="
pecorename = $portVersion pecorename = $portVersion
app:PecoRename = $portVersion app:PecoRename = $portVersion
" "
REQUIRES="" REQUIRES="
haiku >= $haikuVersion
BUILD_REQUIRES="haiku >= $haikuVersion" "
BUILD_REQUIRES="
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine makefile_engine
cmd:gcc$secondaryArchSuffix cmd:gcc$secondaryArchSuffix
cmd:make cmd:make
cmd:mkdepend cmd:mkdepend
" "
PATCHES="pecorename-$portVersion.patch"
BUILD() BUILD()
{ {
cd trunk/Main cd Main
make $jobArgs OBJ_DIR=objects
cd ../Tracker\ Add-On
make $jobArgs OBJ_DIR=objects make $jobArgs OBJ_DIR=objects
} }
INSTALL() INSTALL()
{ {
mkdir -p $appsDir mkdir -p $appsDir
cp trunk/Main/PecoRename $appsDir/PecoRename cp Main/PecoRename $appsDir
mkdir -p $addOnsDir/Tracker
cp Tracker\ Add-On/PecoRename $addOnsDir/Tracker
addAppDeskbarSymlink $appsDir/PecoRename addAppDeskbarSymlink $appsDir/PecoRename
} }