aboutsummaryrefslogtreecommitdiffstats
path: root/misc/inplace/Makefile
blob: 7cfd13623e8a56518bd88540e11f3bc61b39892b (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
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.0
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 > 180

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