summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/units/Makefile2
-rw-r--r--math/units/files/patch-units.c15
-rw-r--r--math/units/pkg-plist3
3 files changed, 17 insertions, 3 deletions
diff --git a/math/units/Makefile b/math/units/Makefile
index ec12bf825c0e..0ffdb28986dd 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -16,6 +16,8 @@ COMMENT= Unit conversion and calculation
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+
+INFO= units
MAN1= gunits.1
.include <bsd.port.mk>
diff --git a/math/units/files/patch-units.c b/math/units/files/patch-units.c
new file mode 100644
index 000000000000..acbf5c3c3e2b
--- /dev/null
+++ b/math/units/files/patch-units.c
@@ -0,0 +1,15 @@
+--- units.c.orig Mon Dec 1 11:09:41 2003
++++ units.c Mon Dec 1 11:10:00 2003
+@@ -2358,9 +2358,9 @@
+
+ #if 0
+
+- "sed 's/.*/& ft\"
+- "m/' feet|units -q|sed 's/^[[:space:]]*\* //"
+- "/^[[:space:]]*\//d'"
++// "sed 's/.*/& ft\"
++// "m/' feet|units -q|sed 's/^[[:space:]]*\* //"
++// "/^[[:space:]]*\//d'"
+
+ #endif
+
diff --git a/math/units/pkg-plist b/math/units/pkg-plist
index 2f3e758931ee..ee4b7487f159 100644
--- a/math/units/pkg-plist
+++ b/math/units/pkg-plist
@@ -1,5 +1,2 @@
bin/gunits
-@unexec install-info --delete %D/info/units.info %D/info/dir
-info/units.info
-@exec install-info %D/info/units.info %D/info/dir
share/units.dat