1 | # $Id: Portfile,v 1.1 2003/12/22 10:38:38 jkh Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name slib-guile |
---|
5 | version 1.0 |
---|
6 | categories devel |
---|
7 | maintainers jkh@opendarwin.org |
---|
8 | platforms darwin |
---|
9 | description Wrapper port to properly set up slib and guile together |
---|
10 | long_description ${description} |
---|
11 | depends_lib lib:slib:slib lib:guile:guile |
---|
12 | distfiles |
---|
13 | |
---|
14 | configure {} |
---|
15 | build {} |
---|
16 | destroot { |
---|
17 | system "mkdir -p ${workpath}/destroot/${prefix}/share/guile" |
---|
18 | file link -s ${workpath}/destroot/${prefix}/share/guile/slib ${prefix}/lib/slib |
---|
19 | } |
---|
20 | post-activate { |
---|
21 | system "${prefix}/bin/guile -c \"(use-modules (ice-9 slib)) (require 'new-catalog)\"" |
---|
22 | } |
---|