From 366df2913a53b6303a688bd4bc7f0b612ddaa2e1 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 13 May 2002 12:33:45 +0000 Subject: GNOME policy: - Use ${PREFIX}/share/gnome properly. --- misc/gonvert/Makefile | 1 + misc/gonvert/files/patch-Makefile | 23 +++++++++++++++++------ misc/gonvert/pkg-plist | 5 ++--- 3 files changed, 20 insertions(+), 9 deletions(-) (limited to 'misc/gonvert') diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile index 02eaf1e0638..38c1b33a046 100644 --- a/misc/gonvert/Makefile +++ b/misc/gonvert/Makefile @@ -8,6 +8,7 @@ PORTNAME= gonvert PORTVERSION= 0.0.8 +PORTREVISION= 1 CATEGORIES= misc python gnome MASTER_SITES= http://webhome.idirect.com/~tekatch/anthony/ucu/ diff --git a/misc/gonvert/files/patch-Makefile b/misc/gonvert/files/patch-Makefile index 5929ac0172d..3a78eb55e57 100644 --- a/misc/gonvert/files/patch-Makefile +++ b/misc/gonvert/files/patch-Makefile @@ -1,6 +1,9 @@ ---- Makefile.orig Wed Jul 4 10:46:41 2001 -+++ Makefile Thu Jul 5 20:13:34 2001 -@@ -11,7 +11,7 @@ + +$FreeBSD$ + +--- Makefile.orig Wed Jul 4 05:46:41 2001 ++++ Makefile Mon May 13 15:32:34 2002 +@@ -11,21 +11,21 @@ all: install: @@ -9,14 +12,22 @@ install --directory $(DESTDIR)/$(MYDATADIR) #create directory to hold project files install --mode=644 gonvert.glade $(DESTDIR)/$(MYDATADIR) #copy glade file over install --directory $(DESTDIR)/$(MYDATADIR)/pixmaps #create pixmap directory to hold project pictures -@@ -20,8 +20,8 @@ + install --mode=644 pixmaps/*.png $(DESTDIR)/$(MYDATADIR)/pixmaps #copy project specific pictures over + install --directory $(DESTDIR)/$(DATADIR)/pixmaps #create pixmaps directory to hold gnome pictures install --mode=644 pixmaps/gonvert_icon.png $(DESTDIR)/$(DATADIR)/pixmaps #copy gnome pictures over - install --directory $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities #create a directory for gnome menu description - install --mode=644 gonvert.desktop $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities #copy the gnome menu description +- install --directory $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities #create a directory for gnome menu description +- install --mode=644 gonvert.desktop $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities #copy the gnome menu description - install --directory $(MYDOCDIR) #create a directory that holds project documentation - install --mode=644 doc/* $(MYDOCDIR) #copy project documentation ++ install --directory $(DESTDIR)/$(DATADIR)/apps/Utilities #create a directory for gnome menu description ++ install --mode=644 gonvert.desktop $(DESTDIR)/$(DATADIR)/apps/Utilities #copy the gnome menu description +# install --directory $(MYDOCDIR) #create a directory that holds project documentation +# install --mode=644 doc/* $(MYDOCDIR) #copy project documentation uninstall: rm -f $(DESTDIR)/$(BINDIR)/$(PROGRAMNAME) +- rm -f $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities/gonvert.desktop ++ rm -f $(DESTDIR)/$(DATADIR)/apps/Utilities/gonvert.desktop + rm -f $(DESTDIR)/$(DATADIR)/pixmaps/gonvert_icon.png + rm -rf $(DATADIR)/gonvert + rm -rf $(DESTDIR)/$(DATADIR)/doc/$(NAME)-$(VERSION) diff --git a/misc/gonvert/pkg-plist b/misc/gonvert/pkg-plist index 99f85720472..b0858a9ad36 100644 --- a/misc/gonvert/pkg-plist +++ b/misc/gonvert/pkg-plist @@ -1,9 +1,8 @@ bin/gonvert -share/gnome/gnome/apps/Utilities/gonvert.desktop -@dirrm share/gnome/gnome/apps/Utilities +share/gnome/apps/Utilities/gonvert.desktop share/gnome/gonvert/gonvert.glade share/gnome/gonvert/pixmaps/gonvert.png share/gnome/gonvert/pixmaps/gonvert_icon.png +share/gnome/pixmaps/gonvert_icon.png @dirrm share/gnome/gonvert/pixmaps @dirrm share/gnome/gonvert -share/gnome/pixmaps/gonvert_icon.png -- cgit