diff options
author | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2002-06-20 19:13:13 +0000 |
---|---|---|
committer | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2002-06-20 19:13:13 +0000 |
commit | 489fefbd8848e3cd7370863e89984ae3e686a052 (patch) | |
tree | f8a2f81fbb8a89ada88aef0cd5e5fa84331475f5 /japanese/groff | |
parent | 471cc5bc1d55d3820d33e0d1cb8243065daea133 (diff) | |
download | ports-489fefbd8848e3cd7370863e89984ae3e686a052.tar.gz ports-489fefbd8848e3cd7370863e89984ae3e686a052.zip |
Use ${REINPLACE_CMD} instead of ${PERL}.
Notes
Notes:
svn path=/head/; revision=61645
Diffstat (limited to 'japanese/groff')
-rw-r--r-- | japanese/groff/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index f87b350672cd..7696abea6265 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -27,6 +27,9 @@ TMAC_DISTNAME= tmac-${TMAC_DATE} USE_GMAKE= yes # declare USE_AUTOCONF_VER as 213 until bsd.port.mk supports 252 (or later) USE_AUTOCONF_VER= 213 +.if ${USE_AUTOCONF_VER} == 213 +USE_REINPLACE= yes +.endif CONFIGURE_ARGS= --program-prefix=g --enable-nippon CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}" @@ -69,12 +72,6 @@ PLIST_SUB+= INFO="@comment " PLIST_SUB+= INFO="" .endif -TEXINFO_FILTER= -e 's/\@acronym/\@var/g;' \ - -e 's/ifnottex/ifinfo/g;' \ - -e 's/ifnotinfo/iftex/g;' \ - -e 's/\@option/\@samp/g;' \ - -e 's/\@env/\@code/g;' - # workaround for autoconf-2.13 CONFIGUREIN_FILTER= \ @@ -83,18 +80,15 @@ CONFIGUREIN_FILTER= \ -e 's|AC_OUTPUT|dnl|g;' \ -e 's|AC_CONFIG_FILES|AC_OUTPUT|g;' -ACLOCAL_FILTER= -e 's/AC_LANG_POP\(C\+\+\)/AC_LANG_RESTORE/g;' \ - -e 's/AC_LANG_PUSH\(C\+\+\)/AC_LANG_SAVE\nAC_LANG_CPLUSPLUS/g;' - -post-extract: -.if ${USE_AUTOCONF_VER} == 213 - ${LN} -sf configure.ac ${WRKSRC}/configure.in -.endif +ACLOCAL_FILTER= \ + -e 's/AC_LANG_POP[(]C[+][+][)]/AC_LANG_RESTORE/g;' \ + -e 's/AC_LANG_PUSH[(]C[+][+][)]/AC_LANG_SAVE[]AC_LANG_CPLUSPLUS/g;' post-patch: .if ${USE_AUTOCONF_VER} == 213 - ${PERL} -pi ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in - ${PERL} -pi ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4 + ${CP} -p ${WRKSRC}/configure.ac ${WRKSRC}/configure.in + ${REINPLACE_CMD} ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in + ${REINPLACE_CMD} ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4 .endif post-build: |