summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-13 12:33:45 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-13 12:33:45 +0000
commit366df2913a53b6303a688bd4bc7f0b612ddaa2e1 (patch)
tree798520ebcc3fb8a970c370f7c8de6c3cb6cb661f
parent8e341ae15e1457da6223de1158043dcbff5afbb8 (diff)
downloadFreeBSD-ports-366df2913a53b6303a688bd4bc7f0b612ddaa2e1.zip
FreeBSD-ports-366df2913a53b6303a688bd4bc7f0b612ddaa2e1.tar.gz
GNOME policy:
- Use ${PREFIX}/share/gnome properly.
-rw-r--r--misc/gonvert/Makefile1
-rw-r--r--misc/gonvert/files/patch-Makefile23
-rw-r--r--misc/gonvert/pkg-plist5
3 files changed, 20 insertions, 9 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index 02eaf1e..38c1b33 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 5929ac0..3a78eb5 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 99f8572..b0858a9 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
OpenPOWER on IntegriCloud