summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/pdmenu/Makefile31
-rw-r--r--misc/pdmenu/distinfo1
-rw-r--r--misc/pdmenu/files/patch-aa11
-rw-r--r--misc/pdmenu/files/patch-ab11
-rw-r--r--misc/pdmenu/pkg-comment1
-rw-r--r--misc/pdmenu/pkg-descr3
-rw-r--r--misc/pdmenu/pkg-plist4
7 files changed, 62 insertions, 0 deletions
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile
new file mode 100644
index 000000000000..0e80f129bd17
--- /dev/null
+++ b/misc/pdmenu/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: pdmenu
+# Version required: 1.2.38
+# Date created: 14 December 1998
+# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
+#
+# $Id$
+
+DISTNAME= pdmenu_1.2.38
+PKGNAME= pdmenu-1.2.38
+CATEGORIES= misc
+MASTER_SITES= http://kitenet.net/programs/code/pdmenu/
+
+MAINTAINER= nbm@rucus.ru.ac.za
+
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= pdmenu.1
+MAN5= pdmenurc.5
+
+CONFIGURE_ENV= SLANG_LIB_LOC='${PREFIX}/lib' \
+ SLANG_H_LOC='${PREFIX}/include/slang.h'
+
+pre-install:
+ ${MKDIR} ${PREFIX}/lib/pdmenu
+
+.include <bsd.port.mk>
diff --git a/misc/pdmenu/distinfo b/misc/pdmenu/distinfo
new file mode 100644
index 000000000000..2b2e1567231a
--- /dev/null
+++ b/misc/pdmenu/distinfo
@@ -0,0 +1 @@
+MD5 (pdmenu_1.2.38.tar.gz) = 6f2c9257443d496be40c01cb1d227a1f
diff --git a/misc/pdmenu/files/patch-aa b/misc/pdmenu/files/patch-aa
new file mode 100644
index 000000000000..0798dde11eda
--- /dev/null
+++ b/misc/pdmenu/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.in.orig Sat Jan 9 14:08:32 1999
++++ configure.in Sat Jan 9 14:10:14 1999
+@@ -46,7 +46,7 @@
+ dnl The function we check for in libslang is important, because
+ dnl we need to make sure we have the right version of slang.
+ AC_CHECK_LIB(slang, SLsig_block_signals,,
+- AC_MSG_ERROR(can't find required slang library or library is obsolete. Try setting the SLANG_LIB_LOC environment variable to point to the directory containing the slang library.))
++ AC_MSG_ERROR(can't find required slang library or library is obsolete. Try setting the SLANG_LIB_LOC environment variable to point to the directory containing the slang library.),-ltermcap)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/misc/pdmenu/files/patch-ab b/misc/pdmenu/files/patch-ab
new file mode 100644
index 000000000000..7871fd2a6aa2
--- /dev/null
+++ b/misc/pdmenu/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure.orig Sat Jan 9 14:08:55 1999
++++ configure Sat Jan 9 14:10:24 1999
+@@ -842,7 +842,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lslang $LIBS"
++LIBS="-lslang -ltermcap $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 848 "configure"
+ #include "confdefs.h"
diff --git a/misc/pdmenu/pkg-comment b/misc/pdmenu/pkg-comment
new file mode 100644
index 000000000000..6d214ff652f1
--- /dev/null
+++ b/misc/pdmenu/pkg-comment
@@ -0,0 +1 @@
+A simple console menu program.
diff --git a/misc/pdmenu/pkg-descr b/misc/pdmenu/pkg-descr
new file mode 100644
index 000000000000..26eb7d46eeb9
--- /dev/null
+++ b/misc/pdmenu/pkg-descr
@@ -0,0 +1,3 @@
+Pdmenu is a menuing system for Unix. It is designed to be easy to
+use, and is suitable for a login shell for inexperienced users, or
+it can just be ran at the command line as a handy menu.
diff --git a/misc/pdmenu/pkg-plist b/misc/pdmenu/pkg-plist
new file mode 100644
index 000000000000..1d8b38b26fe0
--- /dev/null
+++ b/misc/pdmenu/pkg-plist
@@ -0,0 +1,4 @@
+bin/pdmenu
+etc/pdmenurc
+lib/pdmenu/showdir.pl
+lib/pdmenu/editdir.pl