Packaging TomNET

Discussion about topics that don't fit elsewhere.
Post Reply
N der Fünfte
Posts: 4
Joined: Wed Jun 26, 2013 10:24 am

Packaging TomNET

Post by N der Fünfte »

Hey,

is there a good way to package tomenet? I would like to create a freebsd port
for it so it can be installed easily. The makefile only copies the binaries from ./src/*
to ./ ,which is find if you compile/install as a user, but bad if you install a package globally.

The files *should* be in /usr/local/bin, /usr/local/share/tomenet... and /usr/local/etc/...
I could try to script around the makefile to make sure the files land where they belong, but i'm

(1) not sure if that actually works, some paths to files might be hardcoded.
(2) not sure if someone else thought about packaging and there is a more official way than copying files 'by hand'.

Any comments, especially regarding (1) and (2)?

EDIT:
(3) how should "mutable" data be dealt with? a ~/.tomenet directory would be preferable, are there any options/scripts in place for this?
Post Reply