summaryrefslogtreecommitdiff
path: root/sysutils/sysgather/Makefile
blob: 463b7f4142aeac61ffb8aaf8b9f5cdf593ece5ea (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
# 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

NO_STAGE=	yes
.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>