2015-06-07 16:08:59 +00:00

34 lines
736 B
Makefile

# Created by: roam@FreeBSD.org
# $FreeBSD$
PORTNAME= sysgather
DISTVERSION= 1.0pre10
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://devel.ringlet.net/sysutils/sysgather/
MAINTAINER= ports@FreeBSD.org
COMMENT= Keep configuration files under version control
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 shebangfix uidfix
SHEBANG_FILES= sysgather.pl
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MEXAMPLES)
MAKE_ENV+= EXAMPLESDIR="${WRKDIR}"
.endif
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/sysgather.conf.default \
${STAGEDIR}${PREFIX}/etc/sysgather.conf.sample
.include <bsd.port.mk>