aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/genmenu/Makefile
blob: 946fa814c12419db7d104146a7136b807a39d438 (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
# ex:ts=8
# Ports collection makefile for:    genmenu
# Date created:         Nov 10, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   genmenu
PORTVERSION=    1.0.7
CATEGORIES= x11-wm
MASTER_SITES=   http://gtk.no/archive/genmenu/

MAINTAINER= novel@FreeBSD.org
COMMENT=    Generating menus for Bbox, Fbox, Obox, WM and E

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

PLIST_FILES=    bin/genmenu
USE_REINPLACE=  yes
NO_BUILD=   yes

post-patch:
    @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/genmenu

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/genmenu ${PREFIX}/bin

.include <bsd.port.mk>