aboutsummaryrefslogtreecommitdiff
path: root/misc/gonvert
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-25 02:59:10 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-25 02:59:10 +0000
commit94385de4dff2edabe698c2ed5a10d09ffe277439 (patch)
tree45df335e9e7e4b71d77387f893e647a64b82812b /misc/gonvert
parent47e0ab6f4f4984d2beba4a6cd4b49cb1a53f1be0 (diff)
downloadports-94385de4dff2edabe698c2ed5a10d09ffe277439.tar.gz
ports-94385de4dff2edabe698c2ed5a10d09ffe277439.zip
Notes
Diffstat (limited to 'misc/gonvert')
-rw-r--r--misc/gonvert/Makefile12
-rw-r--r--misc/gonvert/distinfo2
-rw-r--r--misc/gonvert/files/patch-Makefile28
-rw-r--r--misc/gonvert/pkg-descr2
4 files changed, 17 insertions, 27 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index 3b2f9a301fa6..036e1a72ff6c 100644
--- a/misc/gonvert/Makefile
+++ b/misc/gonvert/Makefile
@@ -7,22 +7,20 @@
#
PORTNAME= gonvert
-PORTVERSION= 0.0.8
-PORTREVISION= 1
+PORTVERSION= 0.1.2
+PORTREVISION= 0
CATEGORIES= misc python gnome
-MASTER_SITES= http://webhome.idirect.com/~tekatch/anthony/ucu/
+MASTER_SITES= http://unihedron.com/projects/gonvert/
MAINTAINER= ports@FreeBSD.org
COMMENT= A conversion utility that allows conversion between many units
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \
- ${PYTHON_SITELIBDIR}/gtk-1.2/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
USE_REINPLACE= yes
USE_PYTHON= yes
USE_X_PREFIX= yes
-USE_GNOME= yes
-
+USE_GNOMENG= yes
USE_GMAKE= yes
NO_BUILD= yes
diff --git a/misc/gonvert/distinfo b/misc/gonvert/distinfo
index b96e500113ce..13d4905ebcf1 100644
--- a/misc/gonvert/distinfo
+++ b/misc/gonvert/distinfo
@@ -1 +1 @@
-MD5 (gonvert-0.0.8.tar.gz) = 0e714b8d8d8f611e9d19d3815541e07c
+MD5 (gonvert-0.1.2.tar.gz) = a86442777d8d6bd89fe866cf2a39943b
diff --git a/misc/gonvert/files/patch-Makefile b/misc/gonvert/files/patch-Makefile
index 3a78eb55e577..fdee087e1d7e 100644
--- a/misc/gonvert/files/patch-Makefile
+++ b/misc/gonvert/files/patch-Makefile
@@ -1,33 +1,25 @@
-
-$FreeBSD$
-
---- Makefile.orig Wed Jul 4 05:46:41 2001
-+++ Makefile Mon May 13 15:32:34 2002
-@@ -11,21 +11,21 @@
+--- Makefile.orig Mon Feb 24 23:45:55 2003
++++ Makefile Mon Feb 24 23:49:07 2003
+@@ -13,17 +13,17 @@
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 gonvert.glade $(DESTDIR)/$(MYDATADIR) #copy glade file over
+ 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/gonvert_icon.png $(DESTDIR)/$(DATADIR)/pixmaps #copy gnome pictures over
+ 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 gonvert.desktop $(DESTDIR)/$(DATADIR)/gnome/apps/Utilities #copy the 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 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
++ 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
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)
+ #specify project name manually to prevent removal of all directories
diff --git a/misc/gonvert/pkg-descr b/misc/gonvert/pkg-descr
index ad5e887ea7ab..4f3bdcbb3c71 100644
--- a/misc/gonvert/pkg-descr
+++ b/misc/gonvert/pkg-descr
@@ -12,4 +12,4 @@ Features:
- Fully OPEN source so that you can add your own custom calculations
and descriptions.
-WWW: http://webhome.idirect.com/~tekatch/anthony/ucu/
+WWW: http://unihedron.com/projects/gonvert/gonvert.php