mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
add gonvert
A conversion utility that allows conversion between many units
This commit is contained in:
parent
af3f53dde6
commit
a80fa91179
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41102
@ -62,6 +62,7 @@
|
||||
SUBDIR += gnomeutils
|
||||
SUBDIR += gnuls
|
||||
SUBDIR += gone
|
||||
SUBDIR += gonvert
|
||||
SUBDIR += gplbp
|
||||
SUBDIR += granulate
|
||||
SUBDIR += grc
|
||||
|
32
misc/gonvert/Makefile
Normal file
32
misc/gonvert/Makefile
Normal file
@ -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>
|
1
misc/gonvert/distinfo
Normal file
1
misc/gonvert/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gonvert-0.0.5.tar.gz) = e0e4749bce60a410223748bd65f4edcc
|
13
misc/gonvert/files/patch-Makefile
Normal file
13
misc/gonvert/files/patch-Makefile
Normal file
@ -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)
|
1
misc/gonvert/pkg-comment
Normal file
1
misc/gonvert/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A conversion utility that allows conversion between many units
|
15
misc/gonvert/pkg-descr
Normal file
15
misc/gonvert/pkg-descr
Normal file
@ -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/
|
9
misc/gonvert/pkg-plist
Normal file
9
misc/gonvert/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user