aboutsummaryrefslogtreecommitdiffstats
path: root/misc/acron
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-12-15 16:44:25 +0800
committertg <tg@FreeBSD.org>1997-12-15 16:44:25 +0800
commit36554c84d5043967c21bc666e3e6440b53ab03ac (patch)
tree9682d454f1f2c2ecfd7306653f40165f790c9d21 /misc/acron
parent00bf7a00d3e266906a3488e6da8bb8ef39926669 (diff)
downloadfreebsd-ports-gnome-36554c84d5043967c21bc666e3e6440b53ab03ac.tar.gz
freebsd-ports-gnome-36554c84d5043967c21bc666e3e6440b53ab03ac.tar.zst
freebsd-ports-gnome-36554c84d5043967c21bc666e3e6440b53ab03ac.zip
Import acron port. acron is a database of acronyms and abbreviations.
Diffstat (limited to 'misc/acron')
-rw-r--r--misc/acron/Makefile28
-rw-r--r--misc/acron/distinfo1
-rw-r--r--misc/acron/files/patch-aa16
-rw-r--r--misc/acron/pkg-comment1
-rw-r--r--misc/acron/pkg-descr6
-rw-r--r--misc/acron/pkg-plist4
6 files changed, 56 insertions, 0 deletions
diff --git a/misc/acron/Makefile b/misc/acron/Makefile
new file mode 100644
index 000000000000..942fbed16564
--- /dev/null
+++ b/misc/acron/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: acron
+# Version required: 1.2.4
+# Date created: 13 Dec 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= acron
+PKGNAME= acron-1.0
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/others/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.ORG
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+post-patch:
+ @/usr/bin/perl -pi -e "s|@@PREFIX@@|${PREFIX}|g;" ${WRKSRC}/whats
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin
+ ln -sf ${PREFIX}/bin/whats ${PREFIX}/bin/acron
+ ${INSTALL_DATA} ${WRKSRC}/acron ${PREFIX}/share/misc
+
+.include <bsd.port.mk>
diff --git a/misc/acron/distinfo b/misc/acron/distinfo
new file mode 100644
index 000000000000..a9ed41e4139e
--- /dev/null
+++ b/misc/acron/distinfo
@@ -0,0 +1 @@
+MD5 (acron.tgz) = 659273e551d91430921689fa930155ae
diff --git a/misc/acron/files/patch-aa b/misc/acron/files/patch-aa
new file mode 100644
index 000000000000..cf5177c0e84d
--- /dev/null
+++ b/misc/acron/files/patch-aa
@@ -0,0 +1,16 @@
+--- whats.orig Wed Oct 14 18:32:40 1992
++++ whats Sat Dec 13 11:31:33 1997
+@@ -44,11 +44,11 @@
+ fi
+ ac=`echo ${ac} | tr "[a-z]" "[A-Z]"`
+
+-if [ ! -f acron ]
++if [ ! -z ${ACRON} ]
+ then
+ acron=${ACRON}
+ else
+- acron=acron
++ acron=@@PREFIX@@/share/misc/acron
+ fi
+ i=`grep $q -c "^${ac} " ${acron}`
+
diff --git a/misc/acron/pkg-comment b/misc/acron/pkg-comment
new file mode 100644
index 000000000000..f526ea6f92ce
--- /dev/null
+++ b/misc/acron/pkg-comment
@@ -0,0 +1 @@
+Database of acronyms and abbreviations
diff --git a/misc/acron/pkg-descr b/misc/acron/pkg-descr
new file mode 100644
index 000000000000..2ef9769ceb16
--- /dev/null
+++ b/misc/acron/pkg-descr
@@ -0,0 +1,6 @@
+acron provides a database of acronyms and abbreviations.
+
+Use `whats' or `acron' to look up acronyms. You can set the enviroment
+variable $ACRON to a personal database file.
+
+Updates and corrections should be sent to Dave Sill (de5@ornl.gov).
diff --git a/misc/acron/pkg-plist b/misc/acron/pkg-plist
new file mode 100644
index 000000000000..745162d88edf
--- /dev/null
+++ b/misc/acron/pkg-plist
@@ -0,0 +1,4 @@
+bin/whats
+@exec ln -sf %D/%F %B/acron
+@unexec rm %B/acron
+share/misc/acron