Changeset 99364
- Timestamp:
- Nov 3, 2012, 8:12:56 AM (12 years ago)
- Location:
- trunk/dports/x11/openmotif
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/x11/openmotif/Portfile
r97300 r99364 4 4 5 5 name openmotif 6 version 2.3.3 7 revision 1 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 set subdir [lindex [split ${version} -] 0] 10 worksrcdir ${name}-${subdir} 6 version 2.3.4 11 7 categories x11 12 license Restrictive8 license LGPL 13 9 platforms darwin 14 10 maintainers nomaintainer … … 19 15 the original OSF sources. 20 16 21 homepage http:// www.motifzone.net/17 homepage http://motif.ics.com/ 22 18 conflicts lesstif 23 master_sites http://ftp.ics.com/openmotif/${branch}/${subdir}/ \24 ftp://ftp.ics.com/openmotif/${branch}/${subdir}/ 25 fetch.use_epsv no 19 master_sites sourceforge:project/motif/Motif%20${version}%20Source%20Code 20 distname motif-${version}-src 21 extract.suffix .tgz 26 22 27 checksums sha1 2a51e2f28078c4db7ff0c8517eb257001716b699 \ 28 rmd160 015323e212e91ea3beaf039593de5ba75b01e4a6 \ 29 sha256 c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103 23 checksums md5 612bb8127d0d31da6e5474edf8a5c247 \ 24 sha1 49ecfe2a0939232ca78ce318d938044e7f751b6d \ 25 rmd160 96e1ed3c5b99d420e3e2e4eae1b5590961191a33 26 worksrcdir motif-${version} 30 27 31 28 depends_build \ 32 29 port:pkgconfig \ 33 port:xbitmaps 30 port:xbitmaps \ 31 port:autoconf \ 32 port:automake \ 33 port:libtool 34 34 35 35 depends_lib \ … … 46 46 patchfiles patch-uintptr_t-cast.diff \ 47 47 patch-lib-XmP.h.diff \ 48 patch- clients-uil-UilDefI.h.diff48 patch-autogen.sh.diff 49 49 50 50 post-patch { 51 reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure 52 reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in 51 # Looks like a botched cvs rename - identical files with an 'Exm' name 52 # prefix exist. Only a problem because of a case-conflict with libc's 53 # string.h. 54 file delete ${worksrcpath}/demos/lib/Exm/String.h \ 55 ${worksrcpath}/demos/lib/Exm/StringP.h \ 56 ${worksrcpath}/demos/lib/Exm/String.c 53 57 } 54 58 55 configure.cflags -fno-strict-aliasing 59 pre-configure { 60 system -W ${worksrcpath} "./autogen.sh" 61 } 56 62 configure.args --mandir=${prefix}/share/man \ 57 63 --enable-xft \ … … 62 68 63 69 use_parallel_build no 64 build.env LANG=C65 70 66 71 post-destroot { 67 set docdir ${prefix}/share/doc/${name} -${version}72 set docdir ${prefix}/share/doc/${name} 68 73 xinstall -d ${destroot}${docdir} 69 xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPY RIGHT.MOTIF ChangeLog LICENSE\74 xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYING ChangeLog \ 70 75 README RELNOTES TODO ${destroot}${docdir} 71 76 } -
trunk/dports/x11/openmotif/files/patch-lib-XmP.h.diff
r79872 r99364 1 --- lib/Xm/XmP.h.orig 201 1-06-28 16:02:50.000000000 -07002 +++ lib/Xm/XmP.h 201 1-06-28 16:12:34.000000000 -07003 @@ -14 55,12 +1455,15@@ extern void _XmDestroyParentCallback(1 --- lib/Xm/XmP.h.orig 2012-10-23 01:50:35.000000000 +1100 2 +++ lib/Xm/XmP.h 2012-11-03 17:45:45.000000000 +1100 3 @@ -1442,9 +1442,13 @@ extern void _XmDestroyParentCallback( 4 4 5 5 #endif /* NO_XM_1_2_BC */ … … 16 16 #else 17 17 # define XM_DEPRECATED 18 -# define XM_ALIAS(sym) 19 #endif 20 21 #endif /* _XmP_h */ 18 # define XM_ALIAS(sym)
Note: See TracChangeset
for help on using the changeset viewer.