# New ports collection makefile for:    9menu
# Date created:         Sun Aug 13 12:36:14 CDT 1995
# Whom:                 erich@rrnet.com
#
# $FreeBSD: ports/x11/9menu/Makefile,v 1.34 2008/04/19 17:54:15 miwi Exp $
#

PORTNAME=	9menu
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=	serge.gagnon.1@ulaval.ca
COMMENT=	A simple menu patterened 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

NO_WRKSUBDIR=	yes

MAN1=		9menu.1
MANCOMPRESSED=	yes

do-build:
	cd ${WRKSRC} && \
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -lX11 -o 9menu 9menu.c

.include <bsd.port.mk>
