Hi Dan,

> Am 16.03.2022 um 00:15 schrieb Dan Mahoney <free...@gushi.org>:
> 
> 
> 
>> On Mar 15, 2022, at 3:48 PM, Axel Rau <axel....@chaos1.de> wrote:
>> 
>> Hi all,
>> 
>> are there any tools available to convert install statements in Makefiles 
>> from Linux to FreeBSD?
>> The install utilities have different options and I’m looking for a tool to 
>> convert.
> 
> This is the idea behind autoconf, that it detects the various options in play 
> and then builds you a makefile from a file like Makefile.am
> 
> Could you give some sort of example about what install utilities you're 
> referencing, and a package that fails to do the above?  It would help explain 
> what it is you're trying to do.

I try to create a port from:
        https://github.com/gkiefer/home2l <https://github.com/gkiefer/home2l>
This is a multi architecture project and has no configure.in or Makefile.am
Makefiles seem to be handcrafted  by the author or otherwise generated.

‚install' statements in Makefiles:
- - -
brownies/Makefile:      install -Dp -m 644 -t $(HOME2L_INSTALL)/share/brownies 
$(BUILD_DIR_AVR)/*.elf
brownies/Makefile:      install -Dp $(STRIP) -m 755 -t $$BIN $(BROWNIE2L_BIN)
doc/Makefile:   install -Dp -m 644 -t $(HOME2L_INSTALL)/doc/ home2l-book.pdf
doc/Makefile:   install -Dp -m 644 -t $(HOME2L_INSTALL)/doc/home2l-api_c/ 
$(API_C)/*.*
doc/Makefile:   install -Dp -m 644 -t 
$(HOME2L_INSTALL)/doc/home2l-api_c/search/ $(API_C)/search/*.*
doc/Makefile:   install -Dp -m 644 -t $(HOME2L_INSTALL)/doc/home2l-api_python/ 
$(API_PYTHON)/*.*
doc/Makefile:   install -Dp -m 644 -t 
$(HOME2L_INSTALL)/doc/home2l-api_python/search/ $(API_PYTHON)/search/*.*
doorman/Makefile:       install -Dp $(STRIP) -m 755 -t $$BIN $(DOORMAN_BIN);   \
drivers/mqtt/Makefile:  install -Dp $(STRIP) -m 644 -t 
$(HOME2L_INSTALL)/lib/$(ARCH) $(DRIVER_BIN)
drivers/brownies/Makefile:      install -Dp $(STRIP) -m 644 -t 
$(HOME2L_INSTALL)/lib/$(ARCH) $(DRIVER_BIN)
drivers/enocean/Makefile:       install -Dp $(STRIP) -m 644 -t $$LIB 
$(DRIVER_BIN); \
drivers/enocean/Makefile:       install -Dp $(STRIP) -m 755 -t $$BIN $(TOOL_BIN)
drivers/demo/Makefile:  install -Dp $(STRIP) -m 644 -t 
$(HOME2L_INSTALL)/lib/$(ARCH) $(DRIVER_BIN)
drivers/mpd/Makefile:   install -Dp $(STRIP) -m 644 -t 
$(HOME2L_INSTALL)/lib/$(ARCH) $(DRIVER_BIN)
drivers/weather/Makefile:       install -Dp -m 755 -t $(HOME2L_INSTALL)/lib 
$(SCRIPTS)
drivers/gpio/Makefile:  install -Dp $(STRIP) -m 644 -t 
$(HOME2L_INSTALL)/lib/$(ARCH) $(DRIVER_BIN)
drivers/gpio/Makefile:  install -Dp -m 755 -t $(HOME2L_INSTALL)/bin 
h2l-setup_gpio.sh
locales/Makefile:       install -Dp -m 644 de.mo 
$(HOME2L_INSTALL)/locale/de_DE/LC_MESSAGES/home2l.mo
resources/Makefile:     install -Dp -m 755 -t $(HOME2L_INSTALL)/bin 
home2l-showhouse
resources/Makefile:     install -Dp $(STRIP) -m 755 -t $$BIN $(RCSHELL_BIN) 
$(SERVER_BIN); \
resources/Makefile:       install -Dp $(STRIP) -m 644 -t $$LIB $(PYLIB_BIN);  \
resources/Makefile:       install -Dp          -m 644 -t $$LIB 
$(DIR_OBJ)/$(PYLIB).py;  \
tools/Makefile: install -Dp -m 755 -t $(HOME2L_INSTALL)/bin $(SCRIPTS)
tools/Makefile: install -Dp -m 644 -t $(HOME2L_INSTALL) env.sh README
tools/Makefile: install -Dp -m 755 -t $(HOME2L_INSTALL)/install $(INITD)
tools/Makefile: install -Dp -m 755 -t $(HOME2L_INSTALL)/bin h2l-mkdir.sh
tools/Makefile: install -Dp $(STRIP) -m 755 -t $$BIN $(DAEMON_BIN);   \
wallclock/Makefile:     install -Dps -m 755 -t $$BIN $(WALLCLOCK_BIN);
wallclock/Makefile:     install -Dp -m 755 -t $(HOME2L_INSTALL)/bin home2l-fpc; 
\
wallclock/Makefile:     install -Dp -m 755 -t $(HOME2L_INSTALL)/bin 
h2l-sysinfo.sh; \
wallclock/Makefile:       install -Dp -m 644 $(APK) 
$(HOME2L_INSTALL)/install/Home2lApp.apk; \
wallclock/Makefile:     install -Dp -m 644 -t $(HOME2L_INSTALL)/share/icons 
icons.build/*.bmp; \
wallclock/Makefile:     install -Dp -m 644 -t $(HOME2L_INSTALL)/share/fonts 
fonts/*.ttf; \
wallclock/Makefile:     install -Dp -m 644 -t $(HOME2L_INSTALL)/share/sounds 
sounds/*.wav; \
wallclock/Makefile:     install -Dp -m 644 -T icons/home2l-desktop.png 
$(HOME2L_INSTALL)/share/home2l.png; \
- - -

Thanks, Axel
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius

Reply via email to