summaryrefslogblamecommitdiff
path: root/sysutils/wtmp-tools/Makefile
blob: 042c9a32012aaffeb54dfd99f55db7a134202659 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                               


                       





                                             


                                                                     


                                                                          
 
                           
# New ports collection makefile for:	wtmp-tools
# Date created:				3 October 2005
# Whom:					Oleg M. Golovanov <olmi@rentech.ru>
#
# $FreeBSD$
#

PORTNAME=	wtmp-tools
PORTVERSION=	0.1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.rentech.ru/archives/wtmp-tools/

MAINTAINER=	master@rentech.ru
COMMENT=	The tool for editing wtmp files and converting into this format

MAN1=		t2w.1
MANCOMPRESSED=	yes

PORTDOCS=	*
PLIST_FILES=	bin/t2w

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

post-patch:
	@${REINPLACE_CMD} -e 's,^prefix.*=.*$$,prefix = ${PREFIX},' \
		${WRKSRC}/Makefile
.ifdef NOPORTDOCS
	@${REINPLACE_CMD} -e '/$$(docdir)\/wtmp-tool/d' ${WRKSRC}/Makefile
.endif

.include <bsd.port.post.mk>