diff options
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/gonvert/Makefile | 32 | ||||
-rw-r--r-- | misc/gonvert/distinfo | 1 | ||||
-rw-r--r-- | misc/gonvert/files/patch-Makefile | 13 | ||||
-rw-r--r-- | misc/gonvert/pkg-comment | 1 | ||||
-rw-r--r-- | misc/gonvert/pkg-descr | 15 | ||||
-rw-r--r-- | misc/gonvert/pkg-plist | 9 |
7 files changed, 72 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 6c57892aa167..59b60cd31882 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -62,6 +62,7 @@ SUBDIR += gnomeutils SUBDIR += gnuls SUBDIR += gone + SUBDIR += gonvert SUBDIR += gplbp SUBDIR += granulate SUBDIR += grc diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile new file mode 100644 index 000000000000..cdfd02df2050 --- /dev/null +++ b/misc/gonvert/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# New ports collection makefile for: gonvert +# Date created: Apr 9, 2001 +# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gonvert +PORTVERSION= 0.0.5 +CATEGORIES= misc python gnome +MASTER_SITES= http://webhome.idirect.com/~tekatch/anthony/ucu/ + +MAINTAINER= ijliao@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \ + ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome + +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_GNOME= yes + +USE_GMAKE= yes +NO_BUILD= yes + +post-patch: + @${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} + @${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \ + s,--directory,-d --mode=755,g ; \ + s,install ,install -c ,g" ${WRKSRC}/Makefile + +.include <bsd.port.mk> diff --git a/misc/gonvert/distinfo b/misc/gonvert/distinfo new file mode 100644 index 000000000000..eefa2cb71959 --- /dev/null +++ b/misc/gonvert/distinfo @@ -0,0 +1 @@ +MD5 (gonvert-0.0.5.tar.gz) = e0e4749bce60a410223748bd65f4edcc diff --git a/misc/gonvert/files/patch-Makefile b/misc/gonvert/files/patch-Makefile new file mode 100644 index 000000000000..c7d2c5a2d9aa --- /dev/null +++ b/misc/gonvert/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Mon Apr 9 02:43:10 2001 ++++ Makefile Mon Apr 9 02:43:36 2001 +@@ -20,8 +20,8 @@ + 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 $(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: + rm -f $(DESTDIR)/$(BINDIR)/$(PROGRAMNAME) diff --git a/misc/gonvert/pkg-comment b/misc/gonvert/pkg-comment new file mode 100644 index 000000000000..0e4c351e8c06 --- /dev/null +++ b/misc/gonvert/pkg-comment @@ -0,0 +1 @@ +A conversion utility that allows conversion between many units diff --git a/misc/gonvert/pkg-descr b/misc/gonvert/pkg-descr new file mode 100644 index 000000000000..ad5e887ea7ab --- /dev/null +++ b/misc/gonvert/pkg-descr @@ -0,0 +1,15 @@ +gonvert is a conversion utility that allows conversion between many units +like CGS, Ancient, Imperial with many categories like length, mass, +numbers, etc. All units converted values shown at once as you type. Easy +to add/change your own units. + +Features: + + - 38 categories, 698 units. + - All units converted values shown at once as you type. + - Descriptions for many units. + - Sort Units or values. + - Fully OPEN source so that you can add your own custom calculations + and descriptions. + +WWW: http://webhome.idirect.com/~tekatch/anthony/ucu/ diff --git a/misc/gonvert/pkg-plist b/misc/gonvert/pkg-plist new file mode 100644 index 000000000000..99f857204720 --- /dev/null +++ b/misc/gonvert/pkg-plist @@ -0,0 +1,9 @@ +bin/gonvert +share/gnome/gnome/apps/Utilities/gonvert.desktop +@dirrm share/gnome/gnome/apps/Utilities +share/gnome/gonvert/gonvert.glade +share/gnome/gonvert/pixmaps/gonvert.png +share/gnome/gonvert/pixmaps/gonvert_icon.png +@dirrm share/gnome/gonvert/pixmaps +@dirrm share/gnome/gonvert +share/gnome/pixmaps/gonvert_icon.png |