aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-03-28 00:11:03 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-03-28 00:11:03 +0800
commit4507b20ec82b8a1164397f03ff5853ef240c7aea (patch)
treef8d47ba269b68b922d4e993bf1b9b257f90d1f13 /sysutils
parent79b2f68f57175f7868ebda5cec0fcd8f96a124f9 (diff)
downloadfreebsd-ports-gnome-4507b20ec82b8a1164397f03ff5853ef240c7aea.tar.gz
freebsd-ports-gnome-4507b20ec82b8a1164397f03ff5853ef240c7aea.tar.zst
freebsd-ports-gnome-4507b20ec82b8a1164397f03ff5853ef240c7aea.zip
Add dialog 0.9b, utility to create curses-based menu in shell script.
'Dialog' utility which comes with freebsd distribution is almost out-dated: this port comes from linux base and solves this problem. PR: 45800 Submitted by: vitale
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/dialog/Makefile33
-rw-r--r--sysutils/dialog/distinfo1
-rw-r--r--sysutils/dialog/pkg-descr3
-rw-r--r--sysutils/dialog/pkg-plist2
5 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a8037f8855a1..969dcc2eafad 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -55,6 +55,7 @@
SUBDIR += deleted
SUBDIR += detach
SUBDIR += di
+ SUBDIR += dialog
SUBDIR += dim
SUBDIR += dirdiff
SUBDIR += diskcheckd
diff --git a/sysutils/dialog/Makefile b/sysutils/dialog/Makefile
new file mode 100644
index 000000000000..32c6b2ee9bdb
--- /dev/null
+++ b/sysutils/dialog/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: dialog
+# Date created: 22 November 2002
+# Whom: vitale
+#
+# $FreeBSD$
+#
+
+PORTNAME= dialog
+PORTVERSION= 0.9b
+PORTREVISION= 20030308
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_DEBIAN}
+MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}-${PORTREVISION}.orig
+
+MAINTAINER= ferruccio.vitale@tin.it
+COMMENT= Utility to create curses-based menu in shell script
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${PORTREVISION}
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-catgets
+MAKEFILE= makefile
+MAN1= dialog.1
+MANCOMPRESSED= no
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dialog ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/libdialog.a ${PREFIX}/lib
+ ${INSTALL_MAN} ${WRKSRC}/dialog.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
+
diff --git a/sysutils/dialog/distinfo b/sysutils/dialog/distinfo
new file mode 100644
index 000000000000..ba4d196efc7f
--- /dev/null
+++ b/sysutils/dialog/distinfo
@@ -0,0 +1 @@
+MD5 (dialog_0.9b-20030308.orig.tar.gz) = de491252e0329e67aed27d1d01eed120
diff --git a/sysutils/dialog/pkg-descr b/sysutils/dialog/pkg-descr
new file mode 100644
index 000000000000..cdd9a6ccf57c
--- /dev/null
+++ b/sysutils/dialog/pkg-descr
@@ -0,0 +1,3 @@
+Dialog is a utility to create nice user interfaces
+to shell scripts. It is non-graphical (it uses curses)
+so it can be run in the console or an xterm.
diff --git a/sysutils/dialog/pkg-plist b/sysutils/dialog/pkg-plist
new file mode 100644
index 000000000000..9d87ad33fc76
--- /dev/null
+++ b/sysutils/dialog/pkg-plist
@@ -0,0 +1,2 @@
+bin/dialog
+lib/libdialog.a