HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/iports/bin/fribidi-config
#!/bin/sh

pkgconfig="/usr/iports/bin/pkg-config"
args=""

while [ $# -gt 0 ]; do
    case "x$1" in
        x--version)
	    ${pkgconfig} --modversion fribidi
	    exit 0
	    ;;
	x*)
	    args="${args} $1"
	    shift
	    ;;
    esac
done

${pkgconfig} fribidi ${args}