aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sysgather/Makefile
blob: 41c521a148092059198da4c75d5d515f62386586 (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
# 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

.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>