summaryrefslogtreecommitdiff
path: root/misc/pdmenu/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-01-18 01:50:46 +0000
committerhubertf <hubertf@pkgsrc.org>2001-01-18 01:50:46 +0000
commit2545a3dc0d8217f8891baafafb793532bba8b991 (patch)
treed79da2fb91c31de559469f23d5b468d17a667941 /misc/pdmenu/Makefile
parent8582295b0035dcdb1fa1deb192014b6061260102 (diff)
downloadpkgsrc-2545a3dc0d8217f8891baafafb793532bba8b991.tar.gz
Add pdmenu-1.2.65:Simple console menu program
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. Sent in by Tomasz Luchowski <zuntum@eik.pl> in PR 11985
Diffstat (limited to 'misc/pdmenu/Makefile')
-rw-r--r--misc/pdmenu/Makefile42
1 files changed, 42 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"