aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fileschanged/Makefile
blob: aeb0b9ef87a05caf1637673f7e1e2815d60bf363 (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
36
37
38
39
40
# Created by: Konstantin Reznichenko <kot@premierbank.dp.ua>
# $FreeBSD$

PORTNAME=	fileschanged
PORTVERSION=	0.6.5
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility that reports when files have been altered

LIB_DEPENDS=	libargp.so:${PORTSDIR}/devel/argp-standalone
BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
USES=		fam gmake localbase
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/doc --disable-nls

LIBS+=		-largp

INFO=		fileschanged
PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README
PLIST_FILES=	bin/fileschanged man/man1/fileschanged.1.gz

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's| -Werror||' ${WRKSRC}/src/Makefile.in

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DOCFILE in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>