Files
haikuports/haiku-apps/rename/rename-3.9.0.recipe
2015-08-04 12:08:31 -04:00

50 lines
1.3 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="1"
SOURCE_URI="https://github.com/bbjimmy/ReName_for_HAIKU/archive/1.0.tar.gz"
CHECKSUM_SHA512="f13f3a022dab3305c35af0a149711e9e304b00082835115aea3ca8eafa7026cf15613e8f932466e16050dc8282fdcdc16ea3b0d4dc257db09442e16a69c939ae"
SOURCE_DIR="ReName_for_HAIKU-1.0"
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
}