aboutsummaryrefslogtreecommitdiffstats
path: root/misc/inplace/Makefile
blob: 66537580b4fb63ea0bf2135bcbdb3c6beacc2233 (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.1.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>