[Bug 267717] New port: science/root

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Nov 2022 00:05:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267717

Chris Hutchinson <portmaster@bsdforge.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |portmaster@bsdforge.com

--- Comment #2 from Chris Hutchinson <portmaster@bsdforge.com> ---
(In reply to Erik Jensen from comment #1)
Hello, Erik! :-)
I took a look at your work, and it looks like you
mostly just need to manage your "patches" correctly.
The easiest way to accomplish this will be to clone
the cern.root peoject to a location you can work in.
You, having already creating the desired outcome for
the diff files (patches) will for every file you've
changed, rename the original with a .orig extension.
eg;
cp build/unix/compiledata.sh build/unix/compiledata.sh.orig
then copy your modified version over the original.
eg;
cp ../patches/build/unix/compiledata.sh build/unix/
When you've completed this process. You can then run
diff(1) over all the affected files.
eg;
diff -u build/unix/compiledata.sh.orig build/unix/compiledata.sh >
../files/build_unix_compiledata.sh.diff

Your final port should have a structure as such:

science/root/
Makefile
pkg-descr
pkg-message
pkg-plist
which you already have. But you will also need to create
distinfo

Your completed patches will need to go in:

science/root/files/
like above;
build_unix_compiledata.sh.diff

Underscores are used to denote directory separators.
Make all your patches from the base of the source tree.

When you've finished with all this. You'll be able to create
a shar archive containing your new port. If any of this is unclear
to you, feel free to email me. I'll be happy to help.

--Chris

-- 
You are receiving this mail because:
You are the assignee for the bug.