aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/kompmgr/Makefile
blob: 6a5305cee8dddfb9c7fc0b02a2e5f47b7abfc01d (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
37
38
39
40
# New ports collection makefile for:    mpeglib_artsplug
# Date created:             July 09 2004
# Whom:                 Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kompmgr
PORTVERSION=    ${KDE_VERSION}
CATEGORIES= x11-wm kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
PKGNAMEPREFIX=  kdebase-
DISTNAME=   kdebase-${PORTVERSION}
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    Utility needed to enable XComposite support in KDE

USE_KDELIBS_VER=3
PREFIX=     ${KDE_PREFIX}

USE_BZIP2=  yes
WRKSRC=     ${WRKDIR}/kdebase-${PORTVERSION}

PLIST_FILES=    bin/kompmgr

.include <bsd.port.pre.mk>

do-build:
    cd ${WRKSRC}/kwin/kompmgr && \
    ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${X11BASE}/lib -lX11 -lXdamage\
    -lXfixes -lXrender -lXcomposite -lm -o kompmgr kompmgr.c

do-install:
    cd ${WRKSRC}/kwin/kompmgr && ${INSTALL_PROGRAM} kompmgr\
    ${PREFIX}/bin/kompmgr

.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>