2014-01-02 21:40:57 +00:00
|
|
|
SUMMARY="A resource and attribute editor with an interface editor"
|
2013-12-03 03:48:05 +00:00
|
|
|
DESCRIPTION="
|
2014-01-02 21:40:57 +00:00
|
|
|
Resourcer is an all-purpose resource and attribute editor with a full-featured \
|
|
|
|
interface editor. It also contains plug-in editors for 31 other data types, \
|
2016-02-26 15:33:51 +00:00
|
|
|
including images, cursors, sounds, movies, text, and icons."
|
2016-02-17 19:26:37 +00:00
|
|
|
HOMEPAGE="https://github.com/HaikuArchives/Resourcer"
|
2015-06-30 14:52:09 +00:00
|
|
|
COPYRIGHT="2000 Nathan Whitehorn"
|
2013-12-03 03:48:05 +00:00
|
|
|
LICENSE="BSD (3-clause)"
|
2017-06-26 18:25:31 +00:00
|
|
|
REVISION="6"
|
2018-08-07 09:03:27 +00:00
|
|
|
srcGitRev="de931de8f560698c463347dea76f831a9ef2741a"
|
|
|
|
SOURCE_URI="https://github.com/HaikuArchives/Resourcer/archive/$srcGitRev.tar.gz"
|
2017-01-30 21:07:49 +00:00
|
|
|
CHECKSUM_SHA256="0a00db1f7f8fa1e7cbc9668625c1f8a46e75f5a2fa8367c38d9a4f780de9c273"
|
2018-08-07 09:03:27 +00:00
|
|
|
SOURCE_DIR="Resourcer-$srcGitRev"
|
2013-11-24 21:45:36 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all ?x86_gcc2 ?x86"
|
2013-11-24 21:45:36 +00:00
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
resourcer = $portVersion
|
2014-10-28 21:25:03 +00:00
|
|
|
app:Resourcer = $portVersion
|
2013-12-03 03:48:05 +00:00
|
|
|
"
|
2013-11-24 21:45:36 +00:00
|
|
|
REQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku
|
2013-12-03 03:48:05 +00:00
|
|
|
"
|
2013-11-24 21:45:36 +00:00
|
|
|
|
2016-02-17 19:26:37 +00:00
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku_devel
|
|
|
|
"
|
2013-11-24 21:45:36 +00:00
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
makefile_engine
|
|
|
|
cmd:gcc
|
2018-08-09 09:26:07 +00:00
|
|
|
cmd:make
|
2015-07-19 18:01:11 +00:00
|
|
|
"
|
2015-06-30 14:52:09 +00:00
|
|
|
|
2013-11-24 21:45:36 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
cd main
|
2013-12-03 03:48:05 +00:00
|
|
|
make OBJ_DIR=objects \
|
|
|
|
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
2015-06-30 14:52:09 +00:00
|
|
|
|
2013-11-24 21:45:36 +00:00
|
|
|
# The two next steps might not be required
|
|
|
|
# The first one probably isn't, because according to the description
|
|
|
|
# the editors are plug-ins
|
|
|
|
# but I'm not really sure about the second one
|
2015-06-30 14:52:09 +00:00
|
|
|
|
2013-11-24 21:45:36 +00:00
|
|
|
cd ../editors
|
2013-12-03 03:48:05 +00:00
|
|
|
make OBJ_DIR=objects \
|
|
|
|
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
2015-06-30 14:52:09 +00:00
|
|
|
|
2013-11-24 21:45:36 +00:00
|
|
|
cd ../reslib
|
2013-12-03 03:48:05 +00:00
|
|
|
make OBJ_DIR=objects \
|
|
|
|
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
2013-11-24 21:45:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
# Installing only the file in main,
|
|
|
|
# because I can't figure out how the files in the other directories
|
|
|
|
# should be installed
|
2015-06-30 14:52:09 +00:00
|
|
|
|
2013-11-24 21:45:36 +00:00
|
|
|
mkdir -p $appsDir
|
2013-12-03 03:48:05 +00:00
|
|
|
cp -a main/objects/Resourcer $appsDir
|
2015-06-30 14:52:09 +00:00
|
|
|
|
|
|
|
addAppDeskbarSymlink $appsDir/Resourcer
|
2013-11-24 21:45:36 +00:00
|
|
|
}
|