aboutsummaryrefslogtreecommitdiffstats
path: root/x11/9box/Makefile
blob: bcb8cdcac2ae3af6aadb643b637b420119d1eb4e (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
# Created by: Serge Gagnon <gagnon__s@videotron.ca>
# $FreeBSD$

PORTNAME=   9box
PORTVERSION=    0.2.1
PORTREVISION=   3
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry

MAINTAINER= ports@FreeBSD.org
COMMENT=    9box can "pack" windows inside itself

PLIST_FILES=    bin/9box
USES=       gmake
USE_XORG=   xbitmaps x11 xt

BUILD_WRKSRC=   ${WRKSRC}/src

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \
        s|%%CC%%|${CC}|g' \
        ${WRKSRC}/src/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/9box ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>