[37845] trunk/dports/x11

ricci at macports.org ricci at macports.org
Wed Jun 25 14:03:56 PDT 2008


Revision: 37845
          http://trac.macosforge.org/projects/macports/changeset/37845
Author:   ricci at macports.org
Date:     2008-06-25 14:03:56 -0700 (Wed, 25 Jun 2008)
Log Message:
-----------
rename 'openMotif' to 'openmotif' to clear a 'port lint' error

Added Paths:
-----------
    trunk/dports/x11/openmotif/
    trunk/dports/x11/openmotif/Portfile
    trunk/dports/x11/openmotif/files/patch-demos-programs-peridoc-Makefile.in.diff
    trunk/dports/x11/openmotif/files/patch-lib-Mrm-Makefile.in.diff

Removed Paths:
-------------
    trunk/dports/x11/openMotif/
    trunk/dports/x11/openmotif/Portfile

Copied: trunk/dports/x11/openmotif (from rev 37832, trunk/dports/x11/openMotif)


Property changes on: trunk/dports/x11/openmotif
___________________________________________________________________
Name: svn:mergeinfo
   + 

Deleted: trunk/dports/x11/openmotif/Portfile
===================================================================
--- trunk/dports/x11/openMotif/Portfile	2008-06-25 03:08:21 UTC (rev 37832)
+++ trunk/dports/x11/openmotif/Portfile	2008-06-25 21:03:56 UTC (rev 37845)
@@ -1,59 +0,0 @@
-# $Id$
-
-PortSystem      1.0
-
-name            openmotif
-version         2.3.0
-revision        2
-categories      x11
-platforms       darwin
-maintainers     nomaintainer
-description     The Open Motif toolkit for X11
-
-long_description \
-    This is The Open Group's full version of Motif based on \
-    the original OSF sources.
-
-homepage        http://www.motifzone.net/
-master_sites    ftp://ftp.ics.com/openmotif/[join [lrange [split ${version} .] 0 1] .]/${version}/
-fetch.use_epsv  no
-
-checksums       md5 99d0ecb84d3504da421021a19ff70500 \
-                sha1 efb5f5fdc4cc43ef6065594f4ebe98953b7af15e \
-                rmd160 317c8d13d59c6fdd4a9f0e3b63000695f6677b6c
-
-# They updated the distfile from 2.3.0 beta to 2.3.0 final without changing
-# the distfile's name! Remove this when updating to 2.3.1 or whatever's next.
-dist_subdir     ${name}/2.3.0-final
-
-depends_lib     port:jpeg \
-                port:libpng \
-                port:Xft2 \
-                port:fontconfig \
-                port:freetype \
-                port:libiconv \
-                port:xrender \
-                port:zlib \
-                lib:libX11.6:XFree86
-
-post-patch {
-    reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure
-    reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in
-}
-
-configure.args  --mandir=${prefix}/share/man
-
-build.env       LANG=C
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}-${version}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE \
-        README RELNOTES TODO ${destroot}${docdir}
-}
-
-platform darwin 7 {
-    patchfiles-append   patch-freetype.diff
-}
-
-livecheck.check none

Copied: trunk/dports/x11/openmotif/Portfile (from rev 37843, trunk/dports/x11/openMotif/Portfile)
===================================================================
--- trunk/dports/x11/openmotif/Portfile	                        (rev 0)
+++ trunk/dports/x11/openmotif/Portfile	2008-06-25 21:03:56 UTC (rev 37845)
@@ -0,0 +1,74 @@
+# $Id$
+
+PortSystem      1.0
+
+name            openmotif
+version         2.3.0
+revision        2
+categories      x11
+platforms       darwin
+maintainers     nomaintainer
+description     The Open Motif toolkit for X11
+
+long_description \
+    This is The Open Group's full version of Motif based on \
+    the original OSF sources.
+
+homepage        http://www.motifzone.net/
+master_sites    ftp://ftp.ics.com/openmotif/[join [lrange [split ${version} .] 0 1] .]/${version}/
+fetch.use_epsv  no
+
+checksums       md5 99d0ecb84d3504da421021a19ff70500 \
+                sha1 efb5f5fdc4cc43ef6065594f4ebe98953b7af15e \
+                rmd160 317c8d13d59c6fdd4a9f0e3b63000695f6677b6c
+
+# They updated the distfile from 2.3.0 beta to 2.3.0 final without changing
+# the distfile's name! Remove this when updating to 2.3.1 or whatever's next.
+dist_subdir     ${name}/2.3.0-final
+
+depends_lib     port:jpeg \
+                port:libpng \
+                port:Xft2 \
+                port:fontconfig \
+                port:freetype \
+                port:libiconv \
+                port:xrender \
+                port:zlib \
+                lib:libX11.6:XFree86
+
+patchfiles      patch-demos-programs-peridoc-Makefile.in.diff \
+                patch-lib-Mrm-Makefile.in.diff
+
+post-patch {
+    reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure
+    reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in
+}
+
+configure.args  --mandir=${prefix}/share/man	\
+                --enable-xft	\
+                --with-fontconfig-config=${prefix}/bin/freetype-config	\
+                --with-fontconfig-includes=${prefix}/include	\
+                --with-fontconfig-lib=${prefix}/lib	\
+                --with-freetype-includes=${prefix}/include	\
+                --with-freetype-lib=${prefix}/lib	\
+                --enable-jpeg	\
+                --with-libjpeg-includes=${prefix}/include	\
+                --with-libjpeg-lib=${prefix}/lib	\
+                --enable-png	\
+                --with-libpng-includes=${prefix}/include	\
+                --with-libpng-lib=${prefix}/lib	
+
+build.env       LANG=C
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE \
+        README RELNOTES TODO ${destroot}${docdir}
+}
+
+platform darwin 7 {
+    patchfiles-append   patch-freetype.diff
+}
+
+livecheck.check none

Copied: trunk/dports/x11/openmotif/files/patch-demos-programs-peridoc-Makefile.in.diff (from rev 37843, trunk/dports/x11/openMotif/files/patch-demos-programs-peridoc-Makefile.in.diff)
===================================================================
--- trunk/dports/x11/openmotif/files/patch-demos-programs-peridoc-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/x11/openmotif/files/patch-demos-programs-peridoc-Makefile.in.diff	2008-06-25 21:03:56 UTC (rev 37845)
@@ -0,0 +1,23 @@
+--- demos/programs/periodic/Makefile.in.orig	2008-06-24 22:13:34.000000000 -0700
++++ demos/programs/periodic/Makefile.in	2008-06-24 22:15:12.000000000 -0700
+@@ -38,7 +38,8 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-bin_PROGRAMS = periodic$(EXEEXT)
++PERIODIC_BIN_NAME = om_periodic$(EXEEXT)
++bin_PROGRAMS = $(PERIODIC_BIN_NAME)
+ subdir = demos/programs/periodic
+ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -295,8 +296,8 @@
+ 	  echo " rm -f $$p $$f"; \
+ 	  rm -f $$p $$f ; \
+ 	done
+-periodic$(EXEEXT): $(periodic_OBJECTS) $(periodic_DEPENDENCIES) 
+-	@rm -f periodic$(EXEEXT)
++$(PERIODIC_BIN_NAME): $(periodic_OBJECTS) $(periodic_DEPENDENCIES) 
++	@rm -f $(PERIODIC_BIN_NAME)
+ 	$(LINK) $(periodic_LDFLAGS) $(periodic_OBJECTS) $(periodic_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:

Copied: trunk/dports/x11/openmotif/files/patch-lib-Mrm-Makefile.in.diff (from rev 37843, trunk/dports/x11/openMotif/files/patch-lib-Mrm-Makefile.in.diff)
===================================================================
--- trunk/dports/x11/openmotif/files/patch-lib-Mrm-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/x11/openmotif/files/patch-lib-Mrm-Makefile.in.diff	2008-06-25 21:03:56 UTC (rev 37845)
@@ -0,0 +1,11 @@
+--- lib/Mrm/Makefile.in.orig	2008-06-25 12:42:27.000000000 -0700
++++ lib/Mrm/Makefile.in	2008-06-25 12:42:55.000000000 -0700
+@@ -181,7 +181,7 @@
+ XRENDER_LIBS = @XRENDER_LIBS@
+ X_CFLAGS = @X_CFLAGS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+-X_LIBS = @X_LIBS@
++X_LIBS = -L${prefix}/lib @X_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ X_XMU = @X_XMU@
+ YACC = @YACC@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080625/89e05d88/attachment.htm 


More information about the macports-changes mailing list