diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1997-12-15 08:44:25 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1997-12-15 08:44:25 +0000 |
commit | 8799db5fbad8bd0e0b0bf134971594b829b1818d (patch) | |
tree | 19e8670db628c98ab6a5d1d5d970c691b1a08a1c /misc/acron | |
parent | 0582704ea854af744dc72054fe7b68eb0f783ded (diff) | |
download | ports-8799db5fbad8bd0e0b0bf134971594b829b1818d.tar.gz ports-8799db5fbad8bd0e0b0bf134971594b829b1818d.zip |
Notes
Diffstat (limited to 'misc/acron')
-rw-r--r-- | misc/acron/Makefile | 28 | ||||
-rw-r--r-- | misc/acron/distinfo | 1 | ||||
-rw-r--r-- | misc/acron/files/patch-aa | 16 | ||||
-rw-r--r-- | misc/acron/pkg-comment | 1 | ||||
-rw-r--r-- | misc/acron/pkg-descr | 6 | ||||
-rw-r--r-- | misc/acron/pkg-plist | 4 |
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 |