aboutsummaryrefslogblamecommitdiff
path: root/textproc/sarep/Makefile
blob: 5ad93d2fcadf4f026361b68ce1c77ef623c955c8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                       

                                              
 
           

 
                     
                   
                        
                                                    

             
                                
                                                                                      
 
                                                                                                                            
 


                                                             
 

                   

           
                                                        

                      
# Ports collection makefile for:  sarep
# Date created:                   Feb 18, 1999
# Whom:                           ache
#
# $FreeBSD$
#

PORTNAME=	sarep
PORTVERSION=	1.1
CATEGORIES=	textproc
MASTER_SITES=	http://tarp.worldserve.net/software/
EXTRACT_SUFX=

MAINTAINER=	ache@FreeBSD.org
COMMENT=	Command-line search and replace tool; written in Perl; handles regexps

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS

EXTRACT_CMD=	$(SED)
EXTRACT_BEFORE_ARGS=	's=^\#!/usr/bin/perl =\#!${PERL} =' <
EXTRACT_AFTER_ARGS=	| ${TR} -d '\r' > ${WRKSRC}/sarep

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/sarep ${PREFIX}/bin

.include <bsd.port.mk>