Add dialog port

This commit is contained in:
yanick 1998-11-18 23:55:32 +00:00
parent 761dd8db34
commit 76f5f53494
6 changed files with 58 additions and 0 deletions

15
misc/dialog/Makefile Normal file
View File

@ -0,0 +1,15 @@
# OpenBSD makefile for: dialog
# Version required: 0.6z
# Date created: 12 November 1998
# Whom: Yannick Cote
DISTNAME= dialog-0.6z
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/shell
MAINTAINER= yanick@fries.net
USE_GMAKE= YES
.include <bsd.port.mk>

1
misc/dialog/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (dialog-0.6z.tar.gz) = 6801259e03d2c07f394bbb4bb26dfc5d

View File

@ -0,0 +1,34 @@
--- Makefile.orig Thu Nov 12 18:02:34 1998
+++ Makefile Thu Nov 12 18:05:31 1998
@@ -17,8 +17,8 @@
# can be disabled to make dialog a bit smaller (could be done for more things)
HAVE_GUAGE=true
-BINDIR = /usr/bin
-MANDIR = /usr/man/man1/
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/man/man1/
CC = gcc
CPP = gcc -E
@@ -42,8 +42,8 @@
OBJS+=mouse.o
endif
ifeq ($(HAVE_NCURSES), true)
-CFLAGS+=-DHAVE_NCURSES -I/usr/include/ncurses
-LDLIBS+=-lncurses
+CFLAGS+=-DHAVE_NCURSES -I/usr/include/curses
+LDLIBS+=-lcurses
endif
ifeq ($(HAVE_RC_FILE), true)
CFLAGS+=-DHAVE_RC_FILE
@@ -59,7 +59,8 @@
all: libdialog.a dialog
libdialog.a: $(OBJS)
- ar rcs libdialog.a $(OBJS)
+ ar rc libdialog.a $(OBJS)
+ ranlib libdialog.a
dialog: dialog.o

1
misc/dialog/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Format the display of a shell script.

3
misc/dialog/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Dialog is typically invoked from a shell script and puts nice
yes-no/checklist/radio-button - menues on your screen.
(Text is just passed on as arguments to dialog.)

4
misc/dialog/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@cwd /usr/local
@name dialog-0.6z
bin/dialog
man/man1/dialog.1