diff options
author | krion <krion@FreeBSD.org> | 2004-01-27 04:19:57 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-27 04:19:57 +0800 |
commit | d922b60849c2d1ed0a718b7206d7f4c48537566b (patch) | |
tree | ef2c355c7c986ce78d65b6992d1303e45e76a84f /misc/gonvert/files | |
parent | 684298008f16300b96f86fe62fc19516aafaa600 (diff) | |
download | freebsd-ports-gnome-d922b60849c2d1ed0a718b7206d7f4c48537566b.tar.gz freebsd-ports-gnome-d922b60849c2d1ed0a718b7206d7f4c48537566b.tar.zst freebsd-ports-gnome-d922b60849c2d1ed0a718b7206d7f4c48537566b.zip |
- Update to version 0.1.7
PR: ports/61955
Submitted by: Ports Fury
Diffstat (limited to 'misc/gonvert/files')
-rw-r--r-- | misc/gonvert/files/patch-Makefile | 41 | ||||
-rw-r--r-- | misc/gonvert/files/patch-gonvert | 17 |
2 files changed, 17 insertions, 41 deletions
diff --git a/misc/gonvert/files/patch-Makefile b/misc/gonvert/files/patch-Makefile deleted file mode 100644 index 34bbb9957d77..000000000000 --- a/misc/gonvert/files/patch-Makefile +++ /dev/null @@ -1,41 +0,0 @@ ---- Makefile.orig Wed Feb 26 21:18:18 2003 -+++ Makefile Thu Feb 27 00:24:14 2003 -@@ -4,31 +4,31 @@ - VERSION=$(shell head -2 $(NAME) | grep version | cut -d\" -f2) - - #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT --BASEDIR = $(DESTDIR)/usr -+BASEDIR = $(DESTDIR)/${PREFIX} - BINDIR = $(BASEDIR)/bin - LIBDIR = $(BASEDIR)/lib - DOCDIR = $(BASEDIR)/doc - --MYLIBDIR = $(LIBDIR)/$(NAME)-$(VERSION) -+MYLIBDIR = $(BASEDIR)/share/gnome/$(NAME) - MYDOCDIR = $(DOCDIR)/$(NAME)-$(VERSION) - - all: - - - install: -- install -D --mode=755 $(NAME) $(BINDIR)/$(NAME) #put the main program into the bin directory -+ install --mode=755 $(NAME) $(BINDIR)/$(NAME) #put the main program into the bin directory - rm -rf $(LIBDIR)/gonvert-* #remove old lib directories - install --directory $(MYLIBDIR) #create directory to hold project files - install --mode=644 $(NAME).glade $(MYLIBDIR)/$(NAME).glade #copy glade file over - install --directory $(MYLIBDIR)/pixmaps #create pixmap directory to hold project pictures - install --mode=644 pixmaps/*.png $(MYLIBDIR)/pixmaps #copy project specific pictures over -- install --directory $(BASEDIR)/share/pixmaps #create pixmap directory to hold gnome icon -- install --mode=644 pixmaps/$(NAME)_icon.png $(BASEDIR)/share/pixmaps #copy gnome pictures over -+ install --directory $(BASEDIR)/share/gnome/pixmaps #create pixmap directory to hold gnome icon -+ install --mode=644 pixmaps/$(NAME)_icon.png $(BASEDIR)/share/gnome/pixmaps #copy gnome pictures over - install --directory $(BASEDIR)/share/gnome/apps/Utilities #create directory to hold gnome menu description - install --mode=644 $(NAME).desktop $(BASEDIR)/share/gnome/apps/Utilities #copy the gnome menu description - rm -rf $(DOCDIR)/gonvert-* #remove old doc directories -- install --directory $(MYDOCDIR) #create a directory that holds project documentation -- install --mode=644 doc/* $(MYDOCDIR) #copy project documentation -+ #install --directory $(MYDOCDIR) #create a directory that holds project documentation -+ #install --mode=644 doc/* $(MYDOCDIR) #copy project documentation - - - uninstall: diff --git a/misc/gonvert/files/patch-gonvert b/misc/gonvert/files/patch-gonvert new file mode 100644 index 000000000000..5d4c3260f449 --- /dev/null +++ b/misc/gonvert/files/patch-gonvert @@ -0,0 +1,17 @@ +--- gonvert.orig Mon Jan 26 02:22:42 2004 ++++ gonvert Mon Jan 26 13:22:52 2004 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # -*- coding: UTF8 -*- + version = "0.1.7" # keep version information here since Makefile needs it + +@@ -655,7 +655,7 @@ + homepath='' + else: + #look for it in the installed directory +- homepath=sys.path[0] + '/../lib/gonvert-'+version + "/" ++ homepath=sys.path[0] + '/../share/gonvert' "/" + + gladefile=homepath+'gonvert.glade' + |