1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/textproc/sarep/Makefile
Mark Linimon 581e69adb2 Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally.  To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.

Hat:		portmgr
2007-10-07 05:45:04 +00:00

32 lines
762 B
Makefile

# Ports collection makefile for: sarep
# Date created: Feb 18, 1999
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= sarep
PORTVERSION= 1.1
CATEGORIES= textproc
MASTER_SITES= ftp://sunsite.unc.edu/pub/linux/utils/text/
EXTRACT_SUFX=
MAINTAINER= ache@FreeBSD.org
COMMENT= Command-line search and replace tool; written in Perl; handles regexps
RUN_DEPENDS= ${SITE_PERL}/${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
USE_PERL5= yes
PLIST_FILES= bin/sarep
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sarep ${PREFIX}/bin
.include <bsd.port.mk>