summaryrefslogtreecommitdiff
path: root/sysutils/sysgather/Makefile
blob: b8816441e4deb6b9b1de83f6a5cc81b9753405c2 (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
# Created by: roam@FreeBSD.org
# $FreeBSD$

PORTNAME=	sysgather
DISTVERSION=	1.0pre10
CATEGORIES=	sysutils
MASTER_SITES=	http://devel.ringlet.net/sysutils/sysgather/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Keep configuration files under version control

LICENSE=	BSD

BUILD_DEPENDS=	p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles
RUN_DEPENDS:=	${BUILD_DEPENDS}

OPTIONS_DEFINE=	EXAMPLES

USES=		perl5

MAN1=		sysgather.1

.include <bsd.port.options.mk>

.if empty(PORT_OPTIONS:MEXAMPLES)
MAKE_ENV+=	EXAMPLESDIR="${WRKDIR}"
.endif

post-patch:
	@${REINPLACE_CMD} -e \
		's|^#!.*/perl|#!${PERL}|' ${WRKSRC}/sysgather.pl

.include <bsd.port.mk>