aboutsummaryrefslogtreecommitdiffstats
path: root/misc/inplace/Makefile
blob: 0c3b12bc974fb3e1916d68d1f24030f14b46873a (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

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

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

USES=       tar:bzip2 uidfix
USE_RUBY=   yes

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

RUBY_SHEBANG_FILES= lib/inplace.rb

PLIST_FILES=    bin/inplace \
        man/man1/inplace.1.gz

test: build
    cd ${WRKSRC}; ${MAKE} test

.include <bsd.port.mk>