aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/gcompmgr/Makefile
blob: 3b16a8feaccd87c353dff91845a4354dfad7d6ee (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
36
# Created by: UMENO Takashi
# $FreeBSD$

PORTNAME=   gcompmgr
PORTVERSION=    0.21
PORTREVISION=   9
CATEGORIES= x11-wm
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNOME interface to xcompmgr

RUN_DEPENDS=    xcompmgr:x11-wm/xcompmgr

GNU_CONFIGURE=  yes
LIBS+=      -L${LOCALBASE}/lib -lX11
USES=       autoreconf libtool pkgconfig
USE_GNOME=  gtkmm24
USE_XORG=   x11

DESKTOP_ENTRIES="gcompmgr" \
        "Configure window effects" \
        "" \
        "gcompmgr" \
        "DesktopSettings;Settings;GTK;" \
        true

OPTIONS_DEFINE= DOCS

post-patch:
    @${RM} ${WRKSRC}/INSTALL
    @${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
        s|#include <sigc++\/compatibility\.h>||g' \
            ${WRKSRC}/src/*.cc

.include <bsd.port.mk>