summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/pdmenu/Makefile42
-rw-r--r--misc/pdmenu/files/md53
-rw-r--r--misc/pdmenu/files/patch-sum3
-rw-r--r--misc/pdmenu/patches/patch-aa26
-rw-r--r--misc/pdmenu/pkg/COMMENT1
-rw-r--r--misc/pdmenu/pkg/DESCR3
-rw-r--r--misc/pdmenu/pkg/PLIST24
7 files changed, 102 insertions, 0 deletions
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile
new file mode 100644
index 00000000000..235f5689fe8
--- /dev/null
+++ b/misc/pdmenu/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/18 01:50:46 hubertf Exp $
+# FreeBSD Id: ports/misc/pdmenu/Makefile,v 1.11 2001/01/16 17:31:42 sobomax Exp
+
+DISTNAME= pdmenu_1.2.65
+PKGNAME= pdmenu-1.2.65
+CATEGORIES= misc
+MASTER_SITES= http://kitenet.net/programs/code/pdmenu/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://www.kitenet.net/programs/pdmenu/
+
+DEPENDS+= libslang-*:../../devel/libslang
+
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+USE_PERL5= YES
+WRKSRC= ${WRKDIR}/pdmenu
+
+CONFIGURE_ENV= SLANG_LIB_LOC='${PREFIX}/lib' \
+ SLANG_H_LOC='${PREFIX}/include/slang.h'
+
+post-patch:
+ ${SED} "s,@LOCALBASE@,${LOCALBASE},g" \
+ < ${WRKSRC}/autoconf/makeinfo.in > ${WRKSRC}/autoconf/makeinfo.in.done
+ ${MV} ${WRKSRC}/autoconf/makeinfo.in.done ${WRKSRC}/autoconf/makeinfo.in
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/pdmenu
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdmenu ${PREFIX}/share/examples/pdmenu \
+ ${PREFIX}/share/examples/pdmenu/newbie
+ cd ${WRKSRC}/doc && ${INSTALL} -c -o root -g wheel ANNOUNCE BUGS TODO \
+ pdmenu-1.2.65.lsm ${PREFIX}/share/doc/pdmenu
+ cd ${WRKSRC}/examples && ${INSTALL} -c -o root -g wheel README ba.lpd \
+ pdmenurc pdmenurc.complex pdmenurc.monitor showdir.pl \
+ ${PREFIX}/share/examples/pdmenu
+ cd ${WRKSRC}/examples/newbie && ${INSTALL} -c -o root -g wheel \
+ modem-check pdmenurc.newbie rpm-info-on-command \
+ ${PREFIX}/share/examples/pdmenu/newbie
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/pdmenu/files/md5 b/misc/pdmenu/files/md5
new file mode 100644
index 00000000000..e4af6bf3846
--- /dev/null
+++ b/misc/pdmenu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/18 01:50:46 hubertf Exp $
+
+MD5 (pdmenu_1.2.65.tar.gz) = a48c6bd9de312eb91a4a6715c100e71e
diff --git a/misc/pdmenu/files/patch-sum b/misc/pdmenu/files/patch-sum
new file mode 100644
index 00000000000..8941970d102
--- /dev/null
+++ b/misc/pdmenu/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/01/18 01:50:46 hubertf Exp $
+
+MD5 (patch-aa) = ec71c37cbaf3b2f8b56c3b4504680289
diff --git a/misc/pdmenu/patches/patch-aa b/misc/pdmenu/patches/patch-aa
new file mode 100644
index 00000000000..6f30c450239
--- /dev/null
+++ b/misc/pdmenu/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/01/18 01:50:46 hubertf Exp $
+
+--- autoconf/makeinfo.in.orig Sat Aug 28 05:27:37 1999
++++ autoconf/makeinfo.in
+@@ -18,7 +18,7 @@
+ $(PROFILE) -D__USE_FIXED_PROTOTYPES__ -D_GNU_SOURCE
+ CFLAGS_FOR_GCC = -Wall -fstrict-prototypes
+ CFLAGS = $(DEFINES) @gcc_cflags@ @CFLAGS@
+-LIBS = @LIBS@ $(EFENCE)
++LIBS = @LIBS@ -Wl,-R/usr/pkg/lib -L/usr/pkg/lib $(EFENCE)
+ SRCDIR = src
+
+ #------------------- end user configurable section ------------------------#
+@@ -68,11 +68,7 @@
+ $(INSTALL) -s pdmenu $(INSTALL_PREFIX)/$(BINDIR)
+ $(INSTALL) doc/pdmenu.man $(INSTALL_PREFIX)/$(MANDIR)/man1/pdmenu.1 -m 0644
+ $(INSTALL) doc/pdmenurc.man $(INSTALL_PREFIX)/$(MANDIR)/man5/pdmenurc.5 -m 0644
+- if [ -e $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc ]; then \
+- echo "Backing up $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc to $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc.old .." ; \
+- cp $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc.old ; \
+- fi
+- $(INSTALL) examples/pdmenurc $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc -m 0644
++ $(INSTALL) examples/pdmenurc $(INSTALL_PREFIX)/$(SYSCONFDIR)/pdmenurc.sample -m 0644
+ $(INSTALL) examples/showdir.pl $(INSTALL_PREFIX)/$(LIBDIR)
+ cd $(INSTALL_PREFIX)/$(LIBDIR) && $(LN_S) -f showdir.pl editdir.pl
+
diff --git a/misc/pdmenu/pkg/COMMENT b/misc/pdmenu/pkg/COMMENT
new file mode 100644
index 00000000000..f475984f0ae
--- /dev/null
+++ b/misc/pdmenu/pkg/COMMENT
@@ -0,0 +1 @@
+Simple console menu program
diff --git a/misc/pdmenu/pkg/DESCR b/misc/pdmenu/pkg/DESCR
new file mode 100644
index 00000000000..26eb7d46eeb
--- /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 00000000000..d1add640978
--- /dev/null
+++ b/misc/pdmenu/pkg/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/18 01:50:46 hubertf Exp $
+bin/pdmenu
+etc/pdmenurc.sample
+lib/pdmenu/editdir.pl
+lib/pdmenu/showdir.pl
+man/man1/pdmenu.1
+man/man5/pdmenurc.5
+share/doc/pdmenu/${PKGNAME}.lsm
+share/doc/pdmenu/ANNOUNCE
+share/doc/pdmenu/BUGS
+share/doc/pdmenu/TODO
+share/examples/pdmenu/README
+share/examples/pdmenu/ba.lpd
+share/examples/pdmenu/newbie/modem-check
+share/examples/pdmenu/newbie/pdmenurc.newbie
+share/examples/pdmenu/newbie/rpm-info-on-command
+share/examples/pdmenu/pdmenurc
+share/examples/pdmenu/pdmenurc.complex
+share/examples/pdmenu/pdmenurc.monitor
+share/examples/pdmenu/showdir.pl
+@dirrm share/examples/pdmenu/newbie
+@dirrm share/examples/pdmenu
+@dirrm share/doc/pdmenu
+@dirrm lib/pdmenu