aboutsummaryrefslogtreecommitdiff
path: root/x11/9menu
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2009-12-15 00:30:13 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2009-12-15 00:30:13 +0000
commitad44fd653304e19bb8f347af9767cea5876ff67d (patch)
treec1ea57c537ee405091a6c1b55b50b3e3e5423b06 /x11/9menu
parent69e7885f35268e1de5371e09910339304f1e9bfb (diff)
downloadports-ad44fd653304e19bb8f347af9767cea5876ff67d.tar.gz
ports-ad44fd653304e19bb8f347af9767cea5876ff67d.zip
- Canonicalize Makefile header
- Honor CC and CFLAGS - Remove dead master site, fix COMMENT - Cleanup Makefile and port description
Notes
Notes: svn path=/head/; revision=245808
Diffstat (limited to 'x11/9menu')
-rw-r--r--x11/9menu/Makefile31
-rw-r--r--x11/9menu/pkg-descr10
2 files changed, 16 insertions, 25 deletions
diff --git a/x11/9menu/Makefile b/x11/9menu/Makefile
index 7437c06fff78..d1bd6ee7fb6a 100644
--- a/x11/9menu/Makefile
+++ b/x11/9menu/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: 9menu
-# Date created: Sun Aug 13 12:36:14 CDT 1995
-# Whom: erich@rrnet.com
+# New ports collection makefile for: 9menu
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: Eric L. Hernes <erich@rrnet.com>
#
# $FreeBSD$
#
@@ -10,28 +10,23 @@ PORTVERSION= 1.8
PORTREVISION= 2
CATEGORIES= x11 plan9
MASTER_SITES= ftp://freefriends.org/arnold/Source/ \
- ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ \
${MASTER_SITE_NETBSD}
EXTRACT_SUFX= .shar.gz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A simple menu patterened after plan9
+COMMENT= A simple menu patterned after Plan9
-USE_XORG= x11
-PLIST_FILES= bin/9menu
-EXTRACT_CMD= zcat
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |sh
-MAKEFILE= Makefile.noimake
-ALL_TARGET= 9menu
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS= # empty
+EXTRACT_AFTER_ARGS= | sh
+USE_XORG= x11
NO_WRKSUBDIR= yes
-
+MAKEFILE= Makefile.noimake
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lX11"
+PLIST_FILES= bin/9menu
MAN1= 9menu.1
-MANCOMPRESSED= yes
-
-do-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -lX11 -o 9menu 9menu.c
+MANCOMPRESSED= yes # vendor installation routine does this for us
.include <bsd.port.mk>
diff --git a/x11/9menu/pkg-descr b/x11/9menu/pkg-descr
index 67b630a8fabb..8d9fa1c6a917 100644
--- a/x11/9menu/pkg-descr
+++ b/x11/9menu/pkg-descr
@@ -1,10 +1,6 @@
This is 9menu, a simple program that allows you to create X menus from the
-shell, where each menu item will run a command. 9menu is intended for use
+shell, where each menu item will run a command. 9menu is intended for use
with 9wm, but can be used with any other window manager.
-The idea of a command line menu generator is from xmenu, but xmenu was
-exclusively a pop-up menu, not what I wanted.
-
---
-Arnold Robbins
-arnold@gnu.ai.mit.edu
+The idea of a command line menu generator is from xmenu, but xmenu is
+exclusively a pop-up menu, not what everyone wants.