source: trunk/dports/sysutils/endian/Portfile

Last change on this file was 148650, checked in by mf2k@…, 17 months ago

cproto cutecom-qt4-mac endian roboctl: Ports abandoned by jwbacon. (#51305)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 148650 2016-05-13 14:08:36Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            endian
6version         1.0
7categories      sysutils
8maintainers     nomaintainer
9platforms       darwin
10description     Report endianness of a system.
11long_description        Accurately determine the endianness of a system by placing a longword into memory and checking the order of the bytes at that address.
12homepage        http://personalpages.tds.net/~jwbacon/Ports/
13master_sites    ${homepage}distfiles/ \
14                http://jbacon.dyndns.org/~bacon/Ports/distfiles/
15use_configure   no
16
17variant universal {}
18if {[variant_isset universal]} {
19        set archflags ${configure.universal_ldflags}
20} else {
21        set archflags ${configure.cc_archflags}
22}
23build.args      CC="${configure.cc} ${archflags}"
24
25destroot        {
26        xinstall -d -m 0755 ${destroot}${prefix}/bin
27        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
28        xinstall -m 0555 ${worksrcpath}/endian ${destroot}${prefix}/bin
29        xinstall -m 0444 ${worksrcpath}/endian.1 ${destroot}${prefix}/share/man/man1
30}
31checksums       md5 83407de0ce534c2be774caca4ae9230c \
32                sha1 e983fba4bb564d834d0147d08e439eacdb5a3fa5 \
33                rmd160 275bfdad00049030016c4828b121acfecd935ae1
Note: See TracBrowser for help on using the repository browser.