aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wuzzah/Makefile
blob: c5dedc360bf05bc8d5d119e2176d6dfa57edf0c7 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   wuzzah
PORTVERSION=    0.53
CATEGORIES= sysutils
MASTER_SITES=   CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Command-line utility for stalking users

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/wuzzah
MAN1=       wuzzah.1

.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} >= 900007
    @${REINPLACE_CMD} -e '/^CFLAGS/d' -e 's|^\(SUBDIRS.*\)utmpx|\1|p' \
        ${WRKSRC}/Makefile.in
.else
    @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile.in
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1

.include <bsd.port.post.mk>