From 76c930de3e8c8c7f10366944ff1663e90e3368a2 Mon Sep 17 00:00:00 2001 From: Callum Date: Tue, 30 Oct 2018 18:27:33 +0000 Subject: [PATCH] Added recipe for Pad (#3295) --- app-text/pad/licenses/Pad | 7 +++++ app-text/pad/pad-0~20181029.recipe | 45 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 app-text/pad/licenses/Pad create mode 100644 app-text/pad/pad-0~20181029.recipe diff --git a/app-text/pad/licenses/Pad b/app-text/pad/licenses/Pad new file mode 100644 index 000000000..e838625db --- /dev/null +++ b/app-text/pad/licenses/Pad @@ -0,0 +1,7 @@ +Pad 1.0 AAPR +(c) 1997 Jesse Hall + +Pad is freeware. I certainly don't mind donations to my college fund, but I'll feel guilty if you give me more than $5 for this :-). You can distribute it freely, as long as 1) this file accompanies it, 2) neither file is modified in any way, and 3) you don't charge more than the cost of distribution. If you want to include this with a commercial product, please get my permission first. + +As always, I am not legally responsible for any damage caused directly or indirectly by this application. Use it at your own risk. + diff --git a/app-text/pad/pad-0~20181029.recipe b/app-text/pad/pad-0~20181029.recipe new file mode 100644 index 000000000..1f531c8e5 --- /dev/null +++ b/app-text/pad/pad-0~20181029.recipe @@ -0,0 +1,45 @@ +SUMMARY="A freeware notepad program, similar to Apple's Notepad app" +DESCRIPTION="Pad is a freeware notepad program. Anyone who has used Apple's \ +Notepad app (included with the system software) should find it familiar. \ +It supports multiple pages, the standard text editing commands \ +(Cut, Copy, Paste), as well as Drag 'n' Drop editing." +HOMEPAGE="https://github.com/HaikuArchives/Pad" +COPYRIGHT="1997 Jesse Hall" +LICENSE="Pad" +REVISION="1" +srcGitRev="cfefca443dbfb46ec85ebd37ecf34258b2ba30ae" +SOURCE_URI="https://github.com/HaikuArchives/Pad/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="43ca4a5250a8e830c60cd72da8c82c9d9ecad17df1de4b54428687b38ce9ff3c" +SOURCE_FILENAME="Pad-$portVersion-$srcGitRev.tar.gz" +SOURCE_DIR="Pad-$srcGitRev" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + pad = $portVersion + app:pad = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc + cmd:make + " + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir + cp Pad $appsDir + addAppDeskbarSymlink $appsDir/Pad +} \ No newline at end of file