aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/genmenu/Makefile
blob: 184295526e48bd4058a08414dea2a7d6f9e15171 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   genmenu
PORTVERSION=    1.0.7
PORTREVISION=   1
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
NO_BUILD=   yes

NO_STAGE=   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>