aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/obpager/Makefile
blob: 0ae6ddb7b91fef9966877b027226e75a39e2fb31 (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: gahr
# $FreeBSD$

PORTNAME=   obpager
PORTVERSION=    1.8
CATEGORIES= x11-wm
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= gahr@FreeBSD.org
COMMENT=    A lightweight pager for netwm compatible window managers

BUILD_DEPENDS=  gsed:${PORTSDIR}/textproc/gsed

USE_XORG=   x11 xext
USE_GMAKE=  yes

PLIST_FILES=    bin/${PORTNAME}

NO_STAGE=   yes
post-patch:
    ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
        s|%%LOCALBASE%%|${LOCALBASE}|g; \
        s|%%CXX%%|${CXX}|g; \
        s|sed|gsed|g' ${WRKSRC}/Makefile
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>