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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            lesstif
5version         0.95.0
6revision        3
7categories      x11
8maintainers     mac.com:lomion
9description     An Open Source implementation of OSF/Motif.
10long_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.
11platforms       darwin
12homepage        http://www.lesstif.org
13master_sites    sourceforge
14checksums       md5 ab895165c149d7f95843c7584b1c7ad4
15use_bzip2       yes
16configure.args  --enable-production --without-freetype-includes
17use_parallel_build yes
18
19depends_build \
20        port:autoconf \
21        port:automake \
22        port:libtool
23
24depends_lib \
25        port:xorg-libice \
26        port:xorg-libsm \
27        port:xorg-libX11 \
28        port:xorg-libXau \
29        port:xorg-libXdmcp \
30        port:xorg-libXext \
31        port:xorg-libXp \
32        port:xorg-libXt
33
34variant motif12 { configure.args-append --enable-build-12 }
35variant motif20 { configure.args-append --enable-build-20 }
36variant xdnd    { configure.args-append --enable-xdnd }
37
38post-patch {
39        system "touch ${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}"
40
41        # See #18287
42        reinplace "s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" ${worksrcpath}/acinclude.m4
43        reinplace "s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" ${worksrcpath}/acinclude.m4
44}
45
46use_autoreconf yes
47autoreconf.args -fvi
48autoreconf.env ACLOCAL="aclocal -I${worksrcpath}" AUTOCONF="autoconf -I${worksrcpath}"
49
50post-destroot   {
51                system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults"
52                system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def"
53}
Note: See TracBrowser for help on using the repository browser.