summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-03-27 16:11:03 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-03-27 16:11:03 +0000
commit6f04022353da2c0a09df2e7489e9d373fe6e51db (patch)
treeb741d3c19b64895b0ac9077b62d4fb4b50c3b025
parentPR: 45711 (diff)
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
Notes
Notes: svn path=/head/; revision=77542
-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