Files
haikuports/haiku-apps/rename/rename-3.9.0.recipe
2017-01-31 22:17:52 +01:00

51 lines
1.2 KiB
Bash

SUMMARY="A Tracker add-on to rename multiple files at once"
DESCRIPTION="ReName! is a Tracker Add-On for HAIKU users. It provides you \
with a way to rename multiple files at once. ReName! allows you to add, \
remove or change file extensions. It also allows you to change the \
capitialization of your files, and do a search and replace on your file \
names. ReName! also allows you to prepend or append text to multiple file \
names!"
HOMEPAGE="https://github.com/bbjimmy/ReName_for_HAIKU"
COPYRIGHT="2000 FlipSide Software"
LICENSE="Public Domain"
REVISION="2"
SOURCE_URI="https://github.com/bbjimmy/ReName_for_HAIKU/archive/1.0.tar.gz"
CHECKSUM_SHA256="5534bacdf5b53ee9dcb156b9bec20da00a637d63511d964d5eee2de68ad8a952"
SOURCE_DIR="ReName_for_HAIKU-1.0"
PATCHES="rename-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
rename= $portVersion
app:rename = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
makefile_engine
"
BUILD()
{
cd source
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $addOnsDir/Tracker
cp source/ReName $addOnsDir/Tracker/ReName!
mkdir -p $documentationDir/ReName
cd documentation
cp -r * $documentationDir/ReName
}