aboutsummaryrefslogtreecommitdiffstats
path: root/x11/9menu/Makefile
blob: 134026339413b84b268cbb2b9adbf0290e57707f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Eric L. Hernes <erich@rrnet.com>
# $FreeBSD$

PORTNAME=   9menu
PORTVERSION=    1.8
PORTREVISION=   2
CATEGORIES= x11 plan9
MASTER_SITES=   ftp://freefriends.org/arnold/Source/ \
        ${MASTER_SITE_NETBSD}
EXTRACT_SUFX=   .shar.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple menu patterned after Plan9

EXTRACT_CMD=    ${GZCAT}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= | ${SH}

USE_XORG=   x11
NO_WRKSUBDIR=   yes
MAKEFILE=   Makefile.noimake
ALL_TARGET= 9menu
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lX11"
PLIST_FILES=    bin/9menu man/man1/9menu.1.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/9menu.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>