source: trunk/dports/x11/lesstif/Portfile @ 54398

Last change on this file since 54398 was 54398, checked in by toby@…, 10 years ago

#20431 (lesstif: update to 0.95.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 54398 2009-07-26 18:51:29Z toby@macports.org $
2
3PortSystem 1.0
4name            lesstif
5version         0.95.2
6categories      x11
7maintainers     mac.com:lomion
8description     An Open Source implementation of OSF/Motif.
9long_description This is an independent implementation of the Motif widget set, originally developed by the Hungry Programmers.  It has been somewhat superceded by the openMotif toolkit now that the OSF has open-sourced the original reference bits.
10platforms       darwin
11homepage        http://www.lesstif.org
12master_sites    sourceforge
13checksums       md5 754187dbac09fcf5d18296437e72a32f \
14                sha1 b894e544d529a235a6a665d48ca94a465f44a4e5 \
15                rmd160 643fd81b70b6e8617803ddc4350272ca89b4a71f
16use_bzip2       yes
17configure.args  --enable-production --without-freetype-includes
18use_parallel_build yes
19
20depends_build \
21        port:autoconf \
22        port:automake \
23        port:libtool
24
25depends_lib \
26        port:xorg-libice \
27        port:xorg-libsm \
28        port:xorg-libX11 \
29        port:xorg-libXau \
30        port:xorg-libXdmcp \
31        port:xorg-libXext \
32        port:xorg-libXp \
33        port:xorg-libXt
34
35variant motif12 { configure.args-append --enable-build-12 }
36variant motif20 { configure.args-append --enable-build-20 }
37variant xdnd    { configure.args-append --enable-xdnd }
38
39post-patch {
40        system "touch ${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}"
41
42        # See #18287
43        reinplace "s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" ${worksrcpath}/acinclude.m4
44        reinplace "s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" ${worksrcpath}/acinclude.m4
45}
46
47use_autoreconf yes
48autoreconf.args -fvi
49autoreconf.env ACLOCAL="aclocal -I${worksrcpath}" AUTOCONF="autoconf -I${worksrcpath}"
50
51post-destroot   {
52                system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults"
53                system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def"
54}
Note: See TracBrowser for help on using the repository browser.