Convert to use shebangfix USES flag.
This commit is contained in:
parent
a5862b8309
commit
61ebd1776e
@ -14,6 +14,7 @@ COMMENT= Collection of filters, including B1FF, and the Swedish Chef
|
|||||||
CONFLICTS= talkfilters-[0-9]* jive-[0-9]* chef-[0-9]* kenny-[0-9]* \
|
CONFLICTS= talkfilters-[0-9]* jive-[0-9]* chef-[0-9]* kenny-[0-9]* \
|
||||||
lolcat-[0-9]*
|
lolcat-[0-9]*
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
@ -25,6 +26,8 @@ PERLFILTERS= b1ff censor chef eleet fudd jibberish kenny pirate rasterman \
|
|||||||
CFILTERS= jethro kraut cockney jive nyc ken ky00te newspeak nethackify \
|
CFILTERS= jethro kraut cockney jive nyc ken ky00te newspeak nethackify \
|
||||||
scramble
|
scramble
|
||||||
|
|
||||||
|
SHEBANG_FILES= ${PERLFILTERS}
|
||||||
|
|
||||||
MAN1= filters.1
|
MAN1= filters.1
|
||||||
MLINKS= filters.1 b1ff.1 \
|
MLINKS= filters.1 b1ff.1 \
|
||||||
filters.1 censor.1 \
|
filters.1 censor.1 \
|
||||||
@ -55,11 +58,6 @@ MLINKS= filters.1 b1ff.1 \
|
|||||||
post-extract:
|
post-extract:
|
||||||
@${MV} ${WRKSRC}/${PORTNAME}.6 ${WRKSRC}/${MAN1}
|
@${MV} ${WRKSRC}/${PORTNAME}.6 ${WRKSRC}/${MAN1}
|
||||||
|
|
||||||
post-patch:
|
|
||||||
.for f in ${PERLFILTERS}
|
|
||||||
@${REINPLACE_CMD} -e '1s|.*perl|#!${PERL}|' ${WRKSRC}/${f}
|
|
||||||
.endfor
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
.for f in ${CFILTERS}
|
.for f in ${CFILTERS}
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
||||||
|
|||||||
@ -1,9 +1,5 @@
|
|||||||
# New ports collection makefile for: delatt
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
||||||
# Date created: 22 Jun 2005
|
|
||||||
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= delatt
|
PORTNAME= delatt
|
||||||
DISTVERSION= 1.1.3
|
DISTVERSION= 1.1.3
|
||||||
@ -18,15 +14,13 @@ LICENSE= GPLv2
|
|||||||
|
|
||||||
RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
|
RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PERL5_RUN= yes
|
USE_PERL5_RUN= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
SHEBANG_FILES= delatt
|
||||||
PLIST_FILES= bin/delatt
|
PLIST_FILES= bin/delatt
|
||||||
|
|
||||||
post-patch:
|
|
||||||
${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \
|
|
||||||
${WRKSRC}/${PORTNAME}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||||
|
|
||||||
|
|||||||
@ -9,9 +9,12 @@ MASTER_SITES= CRITICAL
|
|||||||
MAINTAINER= ehaupt@FreeBSD.org
|
MAINTAINER= ehaupt@FreeBSD.org
|
||||||
COMMENT= Merges patch-rejects and runs a merge program to verify the changes
|
COMMENT= Merges patch-rejects and runs a merge program to verify the changes
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
SHEBANG_FILES= qp mp
|
||||||
|
|
||||||
PORTDOCS= CHANGELOG README vimrc
|
PORTDOCS= CHANGELOG README vimrc
|
||||||
PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp
|
PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp
|
||||||
|
|
||||||
@ -20,10 +23,6 @@ OPTIONS_DEFINE= DOCS
|
|||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.for f in ${PORTNAME} qp mp
|
|
||||||
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
||||||
${WRKSRC}/${f}
|
|
||||||
.endfor
|
|
||||||
@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
|
@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
|
||||||
${WRKSRC}/runtests.sh
|
${WRKSRC}/runtests.sh
|
||||||
|
|
||||||
|
|||||||
@ -11,16 +11,16 @@ COMMENT= Tool to colorize diff output
|
|||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
SHEBANG_FILES= colordiff.pl
|
||||||
|
|
||||||
MAN1= colordiff.1
|
MAN1= colordiff.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${MAN1}
|
||||||
's|/usr/local/bin/perl|${PERL}|; s|/etc|${PREFIX}/etc|' \
|
|
||||||
${WRKSRC}/${PORTNAME}.pl \
|
|
||||||
${WRKSRC}/${MAN1}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
|
||||||
|
|||||||
@ -14,6 +14,7 @@ LICENSE= GPLv2
|
|||||||
|
|
||||||
RUN_DEPENDS= squid:${PORTSDIR}/www/squid
|
RUN_DEPENDS= squid:${PORTSDIR}/www/squid
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
@ -23,10 +24,9 @@ CONFIG_FILES= bannerfilter.conf banners.data banners.local.data \
|
|||||||
exceptions.data exceptions.local.data frames.data \
|
exceptions.data exceptions.local.data frames.data \
|
||||||
frames.local.data popups.data popups.local.data
|
frames.local.data popups.data popups.local.data
|
||||||
|
|
||||||
|
SHEBANG_FILES= redirector.pl
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
|
||||||
's|/usr/local/etc|${PREFIX}/etc|; s|/usr/bin/perl|${PERL}|' \
|
|
||||||
${WRKSRC}/redirector.pl
|
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|^;\ \(DATA\ =\ \).*|\1${PREFIX}/etc/${PORTNAME}/|' \
|
's|^;\ \(DATA\ =\ \).*|\1${PREFIX}/etc/${PORTNAME}/|' \
|
||||||
${WRKSRC}/${PORTNAME}.conf
|
${WRKSRC}/${PORTNAME}.conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user