Ticket #2731: Portfile

File Portfile, 599 bytes (added by tph@…, 20 years ago)

Updated slib-guile Portfile

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