mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
PERL -> REINPLACE
Noticed on: bento
This commit is contained in:
parent
11485fe3f0
commit
558f2d386c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69421
@ -19,11 +19,12 @@ RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
|
||||
|
||||
GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps
|
||||
PATCH_WRKSRC= ${WRKDIR}
|
||||
USE_REINPLACE= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
|
||||
@${REINPLACE_CMD} -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,; \
|
||||
s,/usr/local/bin/gawk,${LOCALBASE}/bin/gawk,' ${WRKDIR}/gff2ps
|
||||
|
||||
do-extract:
|
||||
|
@ -18,6 +18,7 @@ MAKE_ENV+= NABHOME=${WRKSRC} ARCH= PATH=${WRKSRC}/bin:${PATH}
|
||||
USE_BISON= yes
|
||||
MAN1= nab.1
|
||||
MANCOMPRESSED= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
BINARIES= matextract matmul teLeap tss_main \
|
||||
matgen nab transform tss_next \
|
||||
@ -31,7 +32,7 @@ post-extract:
|
||||
@${CP} ${FILESDIR}/config.h ${WRKSRC}
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
${WRKSRC}/cifparse/cifparse.c
|
||||
|
||||
post-patch:
|
||||
|
@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -43,10 +44,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -21,6 +21,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -41,10 +42,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -43,10 +44,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -43,10 +44,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -43,10 +44,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -24,6 +24,7 @@ INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -43,10 +44,10 @@ do-extract:
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
.if ${OSVERSION} >= 500016 || ${OSVERSION} >= 430001
|
||||
@${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
@${REINPLACE_CMD} -e 's,\-ldescrypt,\-lcrypt,g' \
|
||||
${WRKSRC}/builds/original/prefix.freebsd
|
||||
.else
|
||||
@${PERL} -pi -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
@${REINPLACE_CMD} -e 's,^crypt_set_format.*,,' ${WRKSRC}/jrd/enc.c
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -16,9 +16,10 @@ MAINTAINER= buchanon@msu.edu
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/code
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp
|
||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
@ -8,7 +8,6 @@
|
||||
PORTNAME= dhisd
|
||||
PORTVERSION= 5.1
|
||||
PORTREVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://bsltwr.dhis.org/ftp/pub/dhis/ \
|
||||
ftp://ftp.dhis.org/pub/dhis/
|
||||
@ -18,10 +17,11 @@ MAINTAINER= baskruit@bsltwr.dnsalias.org
|
||||
LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp-freebsd
|
||||
|
||||
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh
|
||||
cd ${WRKSRC} && ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" \
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -p e "s^__PREFIX__^${PREFIX}^g" \
|
||||
Makefile dhisd.h dhisd.sh ${DOCFILES}
|
||||
|
||||
do-install:
|
||||
|
@ -15,9 +15,10 @@ MAINTAINER= cjh@FreeBSD.org
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
USE_GMAKE= YES
|
||||
USE_REINPLACE= yes
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
${WRKSRC}/src/vt.c ${WRKSRC}/lib/mem.c
|
||||
|
||||
post-configure:
|
||||
|
@ -20,8 +20,10 @@ MAINTAINER= cjh@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= hcode:${PORTSDIR}/korean/hcode
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
||||
${WRKSRC}/hpscat.h
|
||||
|
||||
pre-configure:
|
||||
|
@ -17,9 +17,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}20
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= nauty
|
||||
NO_INSTALL_MANPAGES=yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
|
||||
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \
|
||||
|
@ -14,11 +14,12 @@ MAINTAINER= bugg@bugg.strangled.net
|
||||
|
||||
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
|
||||
${WRKSRC}/CfgFileParser.cc
|
||||
@${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" \
|
||||
${WRKSRC}/CfgFileParser.cc
|
||||
|
||||
post-install:
|
||||
@ ${MKDIR} ${PREFIX}/share/colortail
|
||||
|
@ -8,7 +8,6 @@
|
||||
PORTNAME= dhisd
|
||||
PORTVERSION= 5.1
|
||||
PORTREVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://bsltwr.dhis.org/ftp/pub/dhis/ \
|
||||
ftp://ftp.dhis.org/pub/dhis/
|
||||
@ -18,10 +17,11 @@ MAINTAINER= baskruit@bsltwr.dnsalias.org
|
||||
LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp-freebsd
|
||||
|
||||
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh
|
||||
cd ${WRKSRC} && ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" \
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -p e "s^__PREFIX__^${PREFIX}^g" \
|
||||
Makefile dhisd.h dhisd.sh ${DOCFILES}
|
||||
|
||||
do-install:
|
||||
|
@ -17,6 +17,7 @@ MAINTAINER= aw1@stade.co.uk
|
||||
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-prefix=g
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -29,7 +30,7 @@ MAN1= gcomm.1 gcsplit.1 gcut.1 gexpand.1 gfmt.1 ghead.1 \
|
||||
gsplit.1 gunexpand.1
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
||||
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
||||
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
|
||||
|
Loading…
Reference in New Issue
Block a user