aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/obmenu/Makefile
blob: f548fb2a010f1376dc6aa214c16ab3add9809f2c (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
32
33
34
35
# Created by: Doug Barton <dougb@FreeBSD.org>
# $FreeBSD$

PORTNAME=   obmenu
PORTVERSION=    1.0
PORTREVISION=   7
CATEGORIES= x11-wm
MASTER_SITES=   SF

MAINTAINER= horia@racoviceanu.com
COMMENT=    Menu manager for Openbox supporting both static and pipe menus

LICENSE=    GPLv2

USE_GNOME=      pygtk2
USE_PYTHON=     2
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    obMenu

PORTDOCS=   README
OPTIONS_DEFINE= DOCS

SUB_FILES=  pkg-message

DESKTOP_ENTRIES="Obmenu" "Menu manager for Openbox" ${PORTNAME} \
        "${PORTNAME}" "Settings;" ""

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

    ${LN} -sf ${DATADIR}/mnu48.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

.include <bsd.port.mk>