summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-02-26 16:36:41 +0000
committerijliao <ijliao@FreeBSD.org>2003-02-26 16:36:41 +0000
commit0d2b6b3389d3dde9e52ed531b57f1e19239112a2 (patch)
treecc6f2eb1f9f23245cbe8c6be5d47d92d19874652 /misc
parentc11353f478752d99ddac0f2e4c20103dae552a68 (diff)
downloadFreeBSD-ports-0d2b6b3389d3dde9e52ed531b57f1e19239112a2.zip
FreeBSD-ports-0d2b6b3389d3dde9e52ed531b57f1e19239112a2.tar.gz
upgrade to 0.1.5
Diffstat (limited to 'misc')
-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 036e1a7..0bf21d3 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 13d4905..13083d2 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 fdee087..34bbb99 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
OpenPOWER on IntegriCloud