aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/skippy/Makefile
blob: e5e289a14b425c727ba8f5c226c47014236e891a (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
41
42
43
# New ports collection makefile for:    skippy
# Date created:     2004-05-15
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   skippy
PORTVERSION=    0.5.0
PORTREVISION=   2
CATEGORIES= x11-wm
MASTER_SITES=   http://thegraveyard.org/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A full-screen X11 task-switcher like Apple's Expose

LIB_DEPENDS=    Imlib2.3:${PORTSDIR}/graphics/imlib2 \
        Xft.2:${PORTSDIR}/x11-fonts/libXft

USE_XLIB=   yes
USE_BZIP2=  yes
USE_GNOME=  pkgconfig
PLIST_FILES=    bin/skippy \
        %%DATADIR%%/skippyrc-default
PLIST_DIRS= %%DATADIR%%
PKGMESSAGE= ${WRKDIR}/pkg-message

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|; \
        s|/usr/local|${LOCALBASE}|; s|gcc|${CC}|' \
            ${WRKSRC}/Makefile
post-build:
    @${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message >${PKGMESSAGE}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/skippy ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/skippyrc-default ${DATADIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>