Add package for FreeBSD #2

Merged
Francesco Siddi merged 1 commits from Sergey/svn-manager:freebsd into main 2023-05-13 18:14:29 +02:00

View File

@ -52,6 +52,7 @@ package:
@$(MAKE) _package_linux
@$(MAKE) _package_windows
@$(MAKE) _package_darwin
@$(MAKE) _package_freebsd
@$(MAKE) _finish_package
package_linux:
@ -69,6 +70,11 @@ package_darwin:
@$(MAKE) _package_darwin
@$(MAKE) _finish_package
package_freebsd:
@$(MAKE) _prepare_package
@$(MAKE) _package_freebsd
@$(MAKE) _finish_package
_package_linux:
cp svn-manager.service ${PACKAGE_PATH}/
@$(MAKE) --no-print-directory GOOS=linux GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_tar
@ -80,6 +86,9 @@ _package_windows:
_package_darwin:
@$(MAKE) --no-print-directory GOOS=darwin GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_zip
_package_freebsd:
@$(MAKE) --no-print-directory GOOS=freebsd GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_tar
_prepare_package:
rm -rf ${PACKAGE_PATH}
mkdir -p ${PACKAGE_PATH}