[26261] trunk/dports/gnustep

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 17 14:44:26 PDT 2007


Revision: 26261
          http://trac.macosforge.org/projects/macports/changeset/26261
Author:   yves at macports.org
Date:     2007-06-17 14:44:26 -0700 (Sun, 17 Jun 2007)

Log Message:
-----------
Remove deprecated ports and prepare for gnutep-make-2.0

Modified Paths:
--------------
    trunk/dports/gnustep/ArtResources/Portfile
    trunk/dports/gnustep/GNUMail/Portfile

Added Paths:
-----------
    trunk/dports/gnustep/ArtResources/files/
    trunk/dports/gnustep/ArtResources/files/patch-Makefile

Removed Paths:
-------------
    trunk/dports/gnustep/Addresses/
    trunk/dports/gnustep/GPuzzle2/
    trunk/dports/gnustep/etoile/
    trunk/dports/gnustep/preference-panes/

Modified: trunk/dports/gnustep/ArtResources/Portfile
===================================================================
--- trunk/dports/gnustep/ArtResources/Portfile	2007-06-17 20:49:33 UTC (rev 26260)
+++ trunk/dports/gnustep/ArtResources/Portfile	2007-06-17 21:44:26 UTC (rev 26261)
@@ -1,14 +1,15 @@
 # $Id$
 
-PortSystem  1.0
-PortGroup   gnustep 1.0
+PortSystem      1.0
+PortGroup       gnustep 1.0
 
-name        ArtResources
-version     0.1.2
-platforms   darwin
-maintainers yves at macports.org
+name            ArtResources
+version         0.1.2
+revision        1
+platforms       darwin
+maintainers     yves at macports.org
 
-description  FreeFonts and Vera fonts for gnustep art backend.
+description     FreeFonts and Vera fonts for gnustep art backend.
 long_description \
     FreeFonts and Vera fonts and mknfonts for gnustep art backend. \
     The Vera fonts are well-suited to on-screen use, and it is recommended \
@@ -17,22 +18,17 @@
     The FreeFonts are not as well-suited as the Vera fonts to on-screen \
     use, but they contain a lot more characters.
 
-master_sites  http://ocean.made-it.com/Resources/Fonts/ \
-              http://yves.gnu-darwin.org/share/
-checksums     md5 4a30d1f3b05d73d13e10264df62ae982
-use_bzip2     yes
+master_sites    http://ocean.made-it.com/Resources/Fonts/ \
+                macports:yves
+checksums       md5 4a30d1f3b05d73d13e10264df62ae982
+use_bzip2       yes
 
-worksrcdir    .
+worksrcdir      .
 
-post-patch {
-    reinplace "s|GNUSTEP_ROOT|GNUSTEP_LOCAL_ROOT|g" \
-        ${worksrcpath}/Makefile
-    reinplace "s|FONT_DEST = |FONT_DEST = ${destroot}|g" \
-        ${worksrcpath}/Makefile
-}
+patchfiles      patch-Makefile
 
-build.args-append -C mknfonts
+build.args      -C mknfonts
 
 pre-destroot {
-    xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Fonts
+    xinstall -d ${destroot}${local_library}/Fonts
 }

Added: trunk/dports/gnustep/ArtResources/files/patch-Makefile
===================================================================
--- trunk/dports/gnustep/ArtResources/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/gnustep/ArtResources/files/patch-Makefile	2007-06-17 21:44:26 UTC (rev 26261)
@@ -0,0 +1,90 @@
+--- Makefile.orig	2007-04-27 21:08:11.000000000 -0400
++++ Makefile	2007-04-27 21:09:05.000000000 -0400
+@@ -45,11 +45,11 @@
+ INSTALL_BLURB_4 = \
+ "To reset the default fonts for a user, run '$(MAKE) default-default' as that user."
+ 
+-
++include $(GNUSTEP_MAKEFILES)/common.make
+ 
+ .PHONY: all help
+ 
+-all:: check_GNUstep_sh_sourced
++all:: 
+ 	@(echo "-art resource package version 0.1  Alexander Malmberg <alexander at malmberg.org>"; \
+ 	echo; \
+ 	echo "This package contains:"; \
+@@ -74,7 +74,7 @@
+ 	echo "but you can also run '$(MAKE) help' for more extensive information."; \
+ 	)
+ 
+-help:: check_GNUstep_sh_sourced
++help:: 
+ 	@(echo "Use:"; \
+ 	echo; \
+ 	echo "$(MAKE) install"; \
+@@ -94,7 +94,7 @@
+ 	echo "standard make commands."; \
+ 	)
+ 
+-install:: check_GNUstep_sh_sourced install-vera install-freefonts
++install::  install-vera install-freefonts
+ 	@(if ! ($(MAKE) -C mknfonts && $(MAKE) -C mknfonts install); then \
+ 		echo; \
+ 		echo "The automatic install of mknfonts failed. To do it manually,"; \
+@@ -113,49 +113,40 @@
+ 	)
+ 
+ 
+-FONT_DEST = $(GNUSTEP_LOCAL_ROOT)/Library/Fonts
++FONT_DEST = $(GNUSTEP_LIBRARY)/Fonts
+ 
+ 
+ .PHONY: install-vera install-freefonts
+ 
+-install-vera:: check_GNUstep_sh_sourced
++install-vera:: 
+ 	@echo Installing the Vera fonts...
+ 	@./install-nfont Vera\ Sans.nfont $(FONT_DEST) FoO
+ 	@./install-nfont Vera\ Serif.nfont $(FONT_DEST) FoO
+ 	@./install-nfont Vera\ Sans\ Mono.nfont $(FONT_DEST) FoO
+ 
+-install-freefonts:: check_GNUstep_sh_sourced
++install-freefonts:: 
+ 	@echo Installing the FreeFonts...
+ 	@./install-nfont FreeSans.nfont $(FONT_DEST) FoO
+ 	@./install-nfont FreeSerif.nfont $(FONT_DEST) FoO
+ 	@./install-nfont FreeMono.nfont $(FONT_DEST) FoO
+ 	
+ 
+-vera-default:: check_GNUstep_sh_sourced
++vera-default:: 
+ 	defaults write NSGlobalDomain NSFont BitstreamVeraSans-Roman
+ 	defaults write NSGlobalDomain NSBoldFont BitstreamVeraSans-Bold
+ 	defaults write NSGlobalDomain NSUserFixedPitchFont BitstreamVeraSansMono-Roman
+ 
+-freefonts-default:: check_GNUstep_sh_sourced
++freefonts-default:: 
+ 	defaults write NSGlobalDomain NSFont FreeSans
+ 	defaults write NSGlobalDomain NSBoldFont FreeSansBold
+ 	defaults write NSGlobalDomain NSUserFixedPitchFont FreeMono
+ 
+-default-default:: check_GNUstep_sh_sourced
++default-default:: 
+ 	defaults delete NSGlobalDomain NSFont
+ 	defaults delete NSGlobalDomain NSBoldFont
+ 	defaults delete NSGlobalDomain NSUserFixedPitchFont
+ 
+ 
+-.PHONY: check_GNUstep_sh_sourced
+-ifeq ($(GNUSTEP_ROOT),)
+-check_GNUstep_sh_sourced::
+-	@echo You must source the GNUstep.sh script before running $(MAKE) here.
+-	@false
+-else
+-check_GNUstep_sh_sourced::
+-endif
+-
+ 
+ VERSION = 0.1.2
+ 

Modified: trunk/dports/gnustep/GNUMail/Portfile
===================================================================
--- trunk/dports/gnustep/GNUMail/Portfile	2007-06-17 20:49:33 UTC (rev 26260)
+++ trunk/dports/gnustep/GNUMail/Portfile	2007-06-17 21:44:26 UTC (rev 26261)
@@ -17,7 +17,7 @@
 master_sites	http://www.collaboration-world.com/gnumail.data/releases/Stable/
 checksums       md5 66094028676b19cb2eee15e163073ee5
 
-depends_lib    port:Addresses port:Pantomime
+depends_lib    port:Etoile port:Pantomime
 worksrcdir     ${name}
 
 post-patch {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070617/b4deb705/attachment.html


More information about the macports-changes mailing list