# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name slib-guile version 1.0 revision 4 categories devel maintainers nomaintainer platforms any license public-domain supported_archs noarch description Wrapper port to properly set up slib and guile together long_description Create a symbolic link and a catalog file \ so that guile can find the slib library files. homepage https://www.macports.org depends_lib port:slib port:guile distfiles use_configure no build {} destroot { set guileversion [exec ${prefix}/bin/guile-config info guileversion | cut -d . -f 1-2] file mkdir "${destroot}${prefix}/share/guile/${guileversion}" ln -s "${prefix}/lib/slib" "${destroot}${prefix}/share/guile/${guileversion}/slib" } post-activate { system "${prefix}/bin/guile -c \"(use-modules (ice-9 slib)) (require 'new-catalog)\"" }