aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fbcmd/Makefile
blob: d50c3332d307dbb43563f64a8a08fd91868fee2c (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
# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$

PORTNAME=   fbcmd
PORTVERSION=    0.5.1
PORTREVISION=   4
CATEGORIES= x11-wm
MASTER_SITES=   http://darkshed.net/files/c_cpp/fbcmd/

MAINTAINER= novel@FreeBSD.org
COMMENT=    Commandline utility for controlling fluxbox

RUN_DEPENDS=    fluxbox:x11-wm/fluxbox

USES=       gmake tar:bzip2
ALL_TARGET= first
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ARGS=  CXX="${CXX}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
        CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}"

USE_XORG=   x11 xmu
PLIST_FILES=    bin/fbcmd

post-patch:
    @${REINPLACE_CMD} 's|?=|=|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fbcmd ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>