summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-08-25 11:14:25 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-08-25 11:14:25 +0000
commit20f20cefa7d73d6be1120d159424f32704e6ee31 (patch)
tree411cb9c0aebd0faae7e4e1ed15fd0c784b41648f /misc
parenta38dea82e36eb8d1c417665f5ddd53977e07ef70 (diff)
downloadpkgsrc-20f20cefa7d73d6be1120d159424f32704e6ee31.tar.gz
Initial import of cdialog-1.0.20050306.
This is an enhanced version of the 'dialog' command, with new widgets, UTF-8 support and more.
Diffstat (limited to 'misc')
-rw-r--r--misc/cdialog/DESCR2
-rw-r--r--misc/cdialog/Makefile26
-rw-r--r--misc/cdialog/PLIST8
-rw-r--r--misc/cdialog/distinfo6
-rw-r--r--misc/cdialog/patches/patch-aa52
5 files changed, 94 insertions, 0 deletions
diff --git a/misc/cdialog/DESCR b/misc/cdialog/DESCR
new file mode 100644
index 00000000000..4c3ef831389
--- /dev/null
+++ b/misc/cdialog/DESCR
@@ -0,0 +1,2 @@
+This is an enhanced version of the 'dialog' command, with new widgets,
+UTF-8 support and more.
diff --git a/misc/cdialog/Makefile b/misc/cdialog/Makefile
new file mode 100644
index 00000000000..26c9379b861
--- /dev/null
+++ b/misc/cdialog/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/25 11:14:25 xtraeme Exp $
+#
+
+DISTNAME= dialog
+PKGNAME= cdialog-1.0.20050306
+CATEGORIES= misc
+MASTER_SITES= ftp://invisible-island.net/dialog/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://invisible-island.net/dialog/
+COMMENT= Enhanced version of dialog
+
+WRKSRC= ${WRKDIR}/dialog-1.0-20050306
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+MAKEFILE= makefile
+
+CONFIGURE_ARGS+= --enable-nls
+CONFIGURE_ARGS+= --enable-widec
+CONFIGURE_ARGS+= --with-libtool
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/cdialog/PLIST b/misc/cdialog/PLIST
new file mode 100644
index 00000000000..415af0ace3b
--- /dev/null
+++ b/misc/cdialog/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/25 11:14:25 xtraeme Exp $
+bin/cdialog
+include/dialog.h
+include/dlg_colors.h
+include/dlg_config.h
+lib/libcdialog.la
+man/man1/cdialog.1
+man/man3/cdialog.3
diff --git a/misc/cdialog/distinfo b/misc/cdialog/distinfo
new file mode 100644
index 00000000000..5bdc7c10c96
--- /dev/null
+++ b/misc/cdialog/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/25 11:14:25 xtraeme Exp $
+
+SHA1 (dialog.tar.gz) = c99418b18e0dae9d446b6392bc4804b11d600e3a
+RMD160 (dialog.tar.gz) = a584601ff2fd778456e3a54bd4192f9139c30d29
+Size (dialog.tar.gz) = 300067 bytes
+SHA1 (patch-aa) = ecd724d3e0daa954e05d294847047cd830501998
diff --git a/misc/cdialog/patches/patch-aa b/misc/cdialog/patches/patch-aa
new file mode 100644
index 00000000000..66c9831b75e
--- /dev/null
+++ b/misc/cdialog/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/08/25 11:14:25 xtraeme Exp $
+
+--- makefile.in.orig 2005-03-06 17:54:14.000000000 +0100
++++ makefile.in 2005-08-15 01:36:15.000000000 +0200
+@@ -86,8 +86,8 @@
+ dlg_colors.h \
+ dlg_config.h
+
+-LIB = @LIB_PREFIX@dialog$a
+-PROG = dialog$x
++LIB = @LIB_PREFIX@cdialog$a
++PROG = cdialog$x
+ ALL = $(LIB) $(PROG)
+
+ BIN_DIRS = $(bindir) $(MAN1DIR)
+@@ -102,15 +102,15 @@
+ @INTLDIR_MAKE@ @echo "Building GNU gettext library..."
+ @INTLDIR_MAKE@ @cd intl && $(MAKE) @cf_cv_makeflags@
+
+-dialog$o \
++cdialog$o \
+ $(OBJECTS) : $(srcdir)/dialog.h dlg_config.h VERSION
+
+ $(LIB) : $(LIB_OBJECT)
+ $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT)
+ $(RANLIB) $@
+
+-dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
+- $(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS)
++cdialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
++ $(LINK) -o $@ dialog$o -L. -lcdialog $(LDFLAGS) $(LIBS)
+
+ clean \
+ distclean \
+@@ -141,7 +141,7 @@
+
+ install-strip \
+ install :: $(MAN1DIR)
+- $(INSTALL_DATA) $(srcdir)/dialog.1 $(MAN1DIR)
++ $(INSTALL_DATA) $(srcdir)/dialog.1 $(MAN1DIR)/cdialog.1
+
+ uninstall ::
+ $(RM) $(bindir)/$(PROG)
+@@ -156,7 +156,7 @@
+ @ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(includedir) $(srcdir) dlg_colors.h
+ @ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(includedir) . dlg_config.h
+ @ echo "** installing manpage"
+- $(INSTALL_DATA) $(srcdir)/dialog.3 $(MAN3DIR)
++ $(INSTALL_DATA) $(srcdir)/dialog.3 $(MAN3DIR)/cdialog.3
+
+ uninstall-lib :: $(LIB_DIRS)
+ - $(LIBTOOL_UNINSTALL) $(RM) $(libdir)/$(LIB)