aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/obpager/Makefile
blob: 5ad93238d620240c4b3dfa438884975fa8cb8135 (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
# New ports collection Makefile for:    obpager
# Date created:             7 March 2009
# Whom:                 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}

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>