summaryrefslogtreecommitdiff
path: root/misc/gonvert
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-26 16:36:41 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-26 16:36:41 +0000
commit69a2c3f6f46e57a945d7cd94c7906dfbce901a2f (patch)
treed7a312971ebe2f475aaacd0411642193213fcee7 /misc/gonvert
parentPR: (diff)
upgrade to 0.1.5
Notes
Notes: svn path=/head/; revision=76499
Diffstat (limited to 'misc/gonvert')
-rw-r--r--misc/gonvert/Makefile4
-rw-r--r--misc/gonvert/distinfo2
-rw-r--r--misc/gonvert/files/patch-Makefile56
3 files changed, 39 insertions, 23 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index 036e1a72ff6c..0bf21d36f05a 100644
--- a/misc/gonvert/Makefile
+++ b/misc/gonvert/Makefile
@@ -7,10 +7,10 @@
#
PORTNAME= gonvert
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.5
PORTREVISION= 0
CATEGORIES= misc python gnome
-MASTER_SITES= http://unihedron.com/projects/gonvert/
+MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= A conversion utility that allows conversion between many units
diff --git a/misc/gonvert/distinfo b/misc/gonvert/distinfo
index 13d4905ebcf1..13083d2687e1 100644
--- a/misc/gonvert/distinfo
+++ b/misc/gonvert/distinfo
@@ -1 +1 @@
-MD5 (gonvert-0.1.2.tar.gz) = a86442777d8d6bd89fe866cf2a39943b
+MD5 (gonvert-0.1.5.tar.gz) = 290b92e0219156b80fe5db5cb2659974
diff --git a/misc/gonvert/files/patch-Makefile b/misc/gonvert/files/patch-Makefile
index fdee087e1d7e..34bbb9957d77 100644
--- a/misc/gonvert/files/patch-Makefile
+++ b/misc/gonvert/files/patch-Makefile
@@ -1,25 +1,41 @@
---- Makefile.orig Mon Feb 24 23:45:55 2003
-+++ Makefile Mon Feb 24 23:49:07 2003
-@@ -13,17 +13,17 @@
+--- 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 $(PROGRAMNAME) $(DESTDIR)/$(BINDIR)/$(PROGRAMNAME) #put the main program into the bin directory
-+ install --mode=755 $(PROGRAMNAME) $(DESTDIR)/$(BINDIR)/$(PROGRAMNAME) #put the main program into the bin directory
- install --directory $(DESTDIR)/$(MYDATADIR) #create directory to hold project files
- install --mode=644 $(NAME).glade $(DESTDIR)/$(MYDATADIR) #copy glade file over
- install --directory $(DESTDIR)/$(MYDATADIR)/pixmaps #create pixmap directory to hold project pictures
- 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/$(NAME)_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 $(NAME).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 $(NAME).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
+- 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:
- #specify project name manually to prevent removal of all directories