Add convertall, a unit converter that can combine the units any way you want.
If you want to convert from inches per decade, that's fine. Or from meter-pounds. Or from cubic nautical miles. The units don't have to make sense to anyone else. PR: ports/71081 Submitted by: Michael Johnson <ahze@ahze.net>
This commit is contained in:
parent
498027abe5
commit
424de77b90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117581
5 changed files with 81 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
SUBDIR += clarence
|
||||
SUBDIR += cln
|
||||
SUBDIR += concorde
|
||||
SUBDIR += convertall
|
||||
SUBDIR += cxsc
|
||||
SUBDIR += dcdflib
|
||||
SUBDIR += diehard
|
||||
|
|
34
math/convertall/Makefile
Normal file
34
math/convertall/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# New ports collection makefile for: convertall
|
||||
# Date created: 2004-08-12
|
||||
# Whom: Michael Johnson <ahze@ahze.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= convertall
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://bellz.org/convertall/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Another unit converter
|
||||
|
||||
BUILD_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
|
||||
RUN_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
|
||||
|
||||
WRKSRC= ${WRKDIR}/ConvertAll
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
PORTDOCS= README.html INSTALL LICENSE
|
||||
|
||||
post-patch:
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e 's|doc||' ${WRKSRC}/install.py
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC};${PYTHON_CMD} ${WRKSRC}/install.py -p ${PREFIX})
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/convertall/distinfo
Normal file
2
math/convertall/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (convertall-0.3.0.tar.gz) = 27ca231c02034ba4e2238073c1c2220c
|
||||
SIZE (convertall-0.3.0.tar.gz) = 37321
|
8
math/convertall/pkg-descr
Normal file
8
math/convertall/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
[From README.html]
|
||||
|
||||
A unit converter that can combine the units any way you want. If
|
||||
you want to convert from inches per decade, that's fine. Or from
|
||||
meter-pounds. Or from cubic nautical miles. The units don't have to
|
||||
make sense to anyone else.
|
||||
|
||||
WWW: http://www.bellz.org/convertall/
|
36
math/convertall/pkg-plist
Normal file
36
math/convertall/pkg-plist
Normal file
|
@ -0,0 +1,36 @@
|
|||
bin/convertall
|
||||
lib/convertall/convertall.py
|
||||
lib/convertall/convertall.pyc
|
||||
lib/convertall/convertdlg.py
|
||||
lib/convertall/convertdlg.pyc
|
||||
lib/convertall/finddlg.py
|
||||
lib/convertall/finddlg.pyc
|
||||
lib/convertall/helpview.py
|
||||
lib/convertall/helpview.pyc
|
||||
lib/convertall/numedit.py
|
||||
lib/convertall/numedit.pyc
|
||||
lib/convertall/numeval1.py
|
||||
lib/convertall/numeval1.pyc
|
||||
lib/convertall/numeval2.py
|
||||
lib/convertall/numeval2.pyc
|
||||
lib/convertall/option.py
|
||||
lib/convertall/option.pyc
|
||||
lib/convertall/optiondlg.py
|
||||
lib/convertall/optiondlg.pyc
|
||||
lib/convertall/tmpcontrol.py
|
||||
lib/convertall/tmpcontrol.pyc
|
||||
lib/convertall/unit.py
|
||||
lib/convertall/unit.pyc
|
||||
lib/convertall/unitdata.py
|
||||
lib/convertall/unitdata.pyc
|
||||
lib/convertall/unitedit.py
|
||||
lib/convertall/unitedit.pyc
|
||||
lib/convertall/unitgroup.py
|
||||
lib/convertall/unitgroup.pyc
|
||||
lib/convertall/unitlistview.py
|
||||
lib/convertall/unitlistview.pyc
|
||||
share/convertall/units.dat
|
||||
share/icons/convertall_lg.png
|
||||
share/icons/convertall_sm.png
|
||||
@dirrm share/convertall
|
||||
@dirrm lib/convertall
|
Loading…
Reference in a new issue