freebsd-ports/sysutils/wuzzah/Makefile

35 lines
742 B
Makefile
Raw Normal View History

2013-03-08 15:00:30 +01:00
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= wuzzah
PORTVERSION= 0.53
CATEGORIES= sysutils
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Command-line utility for stalking users
2011-12-27 16:14:23 +01:00
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= gmake
2013-10-23 09:14:05 +02:00
PLIST_FILES= bin/wuzzah man/man1/wuzzah.1.gz
.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:
2013-10-23 09:14:05 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.post.mk>