Ticket #43073: Portfile

File Portfile, 1.3 KB (added by ctreleaven (Craig Treleaven), 11 years ago)
Line 
1# -*- 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
2# $Id: Portfile 94976 2012-07-03 07:10:06Z mww@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        Pulse-Eight libcec 2.1.4-repack libcec-
8categories          devel
9license             GPL-2+
10maintainers         cogeco.ca:ctreleaven openmaintainer
11description         USB CEC Adapter communication Library
12long_description    libCEC allows you in combination with the right hardware to control \
13                    your device with your TV remote control. Utilising your existing \
14                    HDMI cabling
15platforms           darwin
16homepage            http://libcec.pulse-eight.com/
17
18checksums           md5     4d4a7b4135bbb74836e541de2a2d1855 \
19                    sha1    a02ad45f3365de8c69bb2dfd2cb4519ad64d450d \
20                    rmd160  0a2f59db03857e79b8b77a40cdd4b4bd95483e50
21
22depends_build       path:bin/pkg-config:pkgconfig
23
24use_autoreconf      yes
25autoreconf.args     -vif
26
27set docdir          ${prefix}/share/doc/${name}
28
29post-destroot {
30    xinstall -m 0755 -d ${destroot}${docdir}
31   
32    xinstall -m 0644 -W ${worksrcpath} \
33        AUTHORS \
34        ChangeLog \
35        COPYING \
36        NEWS \
37        README \
38        ${destroot}${docdir}
39}