diff options
author | okazaki <okazaki@FreeBSD.org> | 2002-06-21 03:13:13 +0800 |
---|---|---|
committer | okazaki <okazaki@FreeBSD.org> | 2002-06-21 03:13:13 +0800 |
commit | ad363ad222c587d92a7f389f9a3b04487e17254c (patch) | |
tree | 71d01f910342956f06d7b82b16aadb6e7450dc13 /japanese/groff/Makefile | |
parent | 31e77155ef1b88a883c10cdff579f224e74e0c6d (diff) | |
download | freebsd-ports-gnome-ad363ad222c587d92a7f389f9a3b04487e17254c.tar.gz freebsd-ports-gnome-ad363ad222c587d92a7f389f9a3b04487e17254c.tar.zst freebsd-ports-gnome-ad363ad222c587d92a7f389f9a3b04487e17254c.zip |
Use ${REINPLACE_CMD} instead of ${PERL}.
Diffstat (limited to 'japanese/groff/Makefile')
-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: |