aboutsummaryrefslogtreecommitdiffstats
path: root/x11/9menu
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2009-12-15 08:30:13 +0800
committerdanfe <danfe@FreeBSD.org>2009-12-15 08:30:13 +0800
commit0079b6cfe367d793fe97f8c8b72ac70629c2e494 (patch)
treeee5927a476117910991c1973d89d0ca5ec374a5f /x11/9menu
parent3651ed4563b1275d5e053a45d8421672f980ee27 (diff)
downloadfreebsd-ports-gnome-0079b6cfe367d793fe97f8c8b72ac70629c2e494.tar.gz
freebsd-ports-gnome-0079b6cfe367d793fe97f8c8b72ac70629c2e494.tar.zst
freebsd-ports-gnome-0079b6cfe367d793fe97f8c8b72ac70629c2e494.zip
- Canonicalize Makefile header
- Honor CC and CFLAGS - Remove dead master site, fix COMMENT - Cleanup Makefile and port description
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.