summaryrefslogtreecommitdiffstats
path: root/misc/inplace/Makefile
blob: 7745b715919ce7b99ebae42d2dcbc8f381bb957a (plain)
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
# New ports collection makefile for:	inplace(1)
# Date created:		2 May 2004
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	inplace
PORTVERSION=	1.2.2
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.iDaemons.org/pub/distfiles/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	knu

MAINTAINER=	knu@FreeBSD.org
COMMENT=	A tool to edit files in-place through given filter commands

USE_BZIP2=	yes
USE_RUBY=	yes

MAKE_ARGS=	PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}"
MAKEFILE=	BSDmakefile

RUBY_SHEBANG_FILES=	inplace.rb

MAN1=		inplace.1
MANCOMPRESSED=	maybe
PLIST_FILES=	bin/inplace

RUBY_REQUIRE=	Ruby > 182

.include <bsd.port.pre.mk>

.if !defined(RUBY_PROVIDED)
IGNORE=		only works with Ruby 1.8.0 or later
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud