summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-06-04 08:50:12 +0000
committeragc <agc@pkgsrc.org>2003-06-04 08:50:12 +0000
commit79c6c4b3eaef68850fc3d4509662792549b2c544 (patch)
treeab24561d6d6e833cdbd718ab3009822584241294 /misc
parent91bb23d5adca4f0a3c83d248529db7988c6f7664 (diff)
downloadpkgsrc-79c6c4b3eaef68850fc3d4509662792549b2c544.tar.gz
Update to version 1.6 of 9menu.
The main differences to the package itself seem to be in its packaging. Main changes to the package: Correct the comment. Make this much more portable to other pkgsrc platforms Generalise for X11 locations other than /usr/X11R6. Use a do-install target in the package Makefile Let pkgsrc do any manual page manipulation
Diffstat (limited to 'misc')
-rw-r--r--misc/9menu/Makefile17
-rw-r--r--misc/9menu/distinfo8
-rw-r--r--misc/9menu/patches/patch-aa29
3 files changed, 23 insertions, 31 deletions
diff --git a/misc/9menu/Makefile b/misc/9menu/Makefile
index 780b86b0251..34e15b04ba9 100644
--- a/misc/9menu/Makefile
+++ b/misc/9menu/Makefile
@@ -1,21 +1,22 @@
-# $NetBSD: Makefile,v 1.7 2003/06/02 01:18:19 jschauma Exp $
+# $NetBSD: Makefile,v 1.8 2003/06/04 08:50:12 agc Exp $
# FreeBSD Id: Makefile,v 1.4 1997/09/08 12:23:55 tg Exp
#
-DISTNAME= 9menu-1.5
-WRKSRC= ${WRKDIR}
+DISTNAME= 9menu-1.6
CATEGORIES= plan9 misc
MASTER_SITES= ftp://ftp.freefriends.org/arnold/Source/
EXTRACT_SUFX= .shar.gz
MAINTAINER= tech-pkg@netbsd.org
-COMMENT= Simple menu patterened after plan9
+COMMENT= Simple menu patterned after the plan9 user interface
-.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "NetBSD")
-MANCOMPRESSED= yes
-.endif
+MAKEFILE= Makefile.noimake
+ALL_TARGET= 9menu
USE_X11= yes
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/9menu ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/9menu.1 ${PREFIX}/man/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/9menu/distinfo b/misc/9menu/distinfo
index c35deb466f1..0641b15e912 100644
--- a/misc/9menu/distinfo
+++ b/misc/9menu/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 13:52:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/06/04 08:50:12 agc Exp $
-SHA1 (9menu-1.5.shar.gz) = b7200cb4fa34beca367607987b6afe05fef042e5
-Size (9menu-1.5.shar.gz) = 7021 bytes
-SHA1 (patch-aa) = f0f635683e71ca5f17ba97f94ee7c3c6ec60d77c
+SHA1 (9menu-1.6.shar.gz) = 2be989faa461260c6b5faeb0e0c00f71363dcd96
+Size (9menu-1.6.shar.gz) = 8401 bytes
+SHA1 (patch-aa) = 381ea9092583fc0e91a9cc619ea1ee0d32c49abb
diff --git a/misc/9menu/patches/patch-aa b/misc/9menu/patches/patch-aa
index 4cc76378f68..ed945b8a833 100644
--- a/misc/9menu/patches/patch-aa
+++ b/misc/9menu/patches/patch-aa
@@ -1,25 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2003/06/04 08:50:13 agc Exp $
---- Makefile.orig Wed Oct 13 19:58:26 1999
-+++ Makefile Wed Oct 13 20:56:08 1999
-@@ -6,8 +6,18 @@
+--- Makefile.noimake 2003/06/04 08:23:07 1.1
++++ Makefile.noimake 2003/06/04 08:37:56
+@@ -5,9 +5,8 @@
+ # Arnold Robbins
# arnold@skeeve.atl.ga.us
- CC = gcc
+-CC = gcc
-CFLAGS = -g -O
-+CFLAGS = -O -I/usr/X11R6/include
- LIBS = -lX11
+-LIBS = -lX11
++CFLAGS+= -I${X11BASE}/include
++LIBS = ${LDFLAGS} -lX11
-+
-+all: 9menu
-+
9menu: 9menu.c
-- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
-+ $(CC) $(CFLAGS) 9menu.c $(LDFLAGS) $(LIBS) -o 9menu
-+
-+install:
-+ $(INSTALL) -c 9menu $(PREFIX)/bin
-+ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
-+ strip $(PREFIX)/bin/9menu
-+ gzip -9nf $(PREFIX)/man/man1/9menu.1
-+
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu