public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
commit  a5e26c1660a598c6f5830919c5066366307d5f7d
tree    78e209d682ba5c01ff9799570f1abc48d26378c0
parent  030b2fce030d1992a840afd74b84367b9993ea9a
macports / dports / textproc / docbook-xsl / Portfile
100644 28 lines (23 sloc) 0.796 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: Portfile,v 1.12 2004/03/18 09:41:29 michaelm Exp $
 
PortSystem 1.0
 
name     docbook-xsl
version    1.62.4  
revision 1
categories  textproc
description  the docbook xsl stylesheets
platforms  darwin
maintainers michaelm@opendarwin.org
master_sites  sourceforge:docbook
homepage  http://docbook.sf.net/
checksums  md5 4f33db39db7fa95b50143ad609d734a0
use_configure   no
build    {}
 
set dirs_to_install  "common fo extensions html htmlhelp javahelp lib manpages params template xhtml images"
set instdir      "share/xsl/${name}"
 
destroot  {
    file mkdir ${destroot}/${prefix}/${instdir}
     system "cd ${worksrcpath} && \
      tar -cf - README VERSION ${dirs_to_install} | \
      tar -xf - -C ${destroot}/${prefix}/${instdir}"
    system "chown -R `id -u`:`id -g` ${destroot}/${prefix}/${instdir}"
    }