aboutsummaryrefslogtreecommitdiff
path: root/japanese/groff
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-08-14 01:26:24 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2001-08-14 01:26:24 +0000
commit8270d96d43edeec0c9ae700660e60f3c98181aa0 (patch)
tree336c7811668f161c677f2d67bd004c611a705208 /japanese/groff
parent6a45e46521d2ec576d12961ccf1b138be063db14 (diff)
downloadports-8270d96d43edeec0c9ae700660e60f3c98181aa0.tar.gz
ports-8270d96d43edeec0c9ae700660e60f3c98181aa0.zip
Notes
Diffstat (limited to 'japanese/groff')
-rw-r--r--japanese/groff/Makefile28
-rw-r--r--japanese/groff/distinfo6
2 files changed, 26 insertions, 8 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index 45002d1f7909..4eb22ce07b08 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= groff
-PORTVERSION= 1.17
-PORTREVISION= 1
+PORTVERSION= 1.17.2
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_LOCAL:S,%SUBDIR%,okazaki/&,} \
${MASTER_SITE_GNU}
@@ -21,7 +20,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= okazaki@FreeBSD.org
-TMAC_DATE= 20010614
+TMAC_DATE= 20010811
TMAC_DISTNAME= tmac-${TMAC_DATE}
USE_GMAKE= yes
@@ -30,7 +29,7 @@ USE_AUTOCONF= yes
CONFIGURE_ARGS= --program-prefix=g --enable-nippon
CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}"
-TMACBASE= ${WRKDIR}/tmac
+TMACBASE= ${WRKDIR}/${TMAC_DISTNAME}
TMACDIR= share/groff/${PORTVERSION}/tmac
SITETMACDIR= share/groff/site-tmac
MDOCDIR= ${TMACDIR}/mdoc
@@ -52,7 +51,8 @@ MAN7= groff.7 groff_char.7 groff_man.7 groff_mdoc.7 \
groff_mwww.7 mmroff.7 roff.7
SITETMACFILES= mdoc.local
-TMACFILES= tmac.orig_me tmac.vgrind
+TMACFILES= tmac.orig_me tmac.vgrind \
+ an-old.tmac doc.tmac
MDOCFILES= eucJP
DOCUMENTS= ChangeLog.jp NEWS PROBLEMS README README.jp \
@@ -73,6 +73,24 @@ TEXINFO_FILTER= -e 's/\@acronym/\@var/g;' \
-e 's/\@option/\@samp/g;' \
-e 's/\@env/\@code/g;'
+# workaround for autoconf-2.13
+
+CONFIGUREIN_FILTER= \
+ -e 's|AC_INIT|dnl|g;' \
+ -e 's|AC_CONFIG_SRCDIR|AC_INIT|g;' \
+ -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:
+ ${LN} -sf configure.ac ${WRKSRC}/configure.in
+
+post-patch:
+ ${PERL} -pi ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in
+ ${PERL} -pi ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4
+
post-build:
.if !defined(WITHOUT_INFO)
cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo
diff --git a/japanese/groff/distinfo b/japanese/groff/distinfo
index 264d27534fc5..09771a9ba6aa 100644
--- a/japanese/groff/distinfo
+++ b/japanese/groff/distinfo
@@ -1,3 +1,3 @@
-MD5 (groff-1.17.tar.gz) = 1e14bb3aa113f1d7b48603bd9ee351a4
-MD5 (tmac-20010614.tar.gz) = 8d4241e3b04cb017ff7d470db613afb7
-MD5 (groff-1.17-jgroff-0.0.1.diff.gz) = 893c1f97f6e02a722cba31b4545e6447
+MD5 (groff-1.17.2.tar.gz) = 9564e58e553e7a8d4c6e73a782f296ce
+MD5 (tmac-20010811.tar.gz) = 61cc052828a7d941547d6e67007b7c30
+MD5 (groff-1.17.2-jgroff-0.0.1.diff.gz) = ed6afe55864bee57a40bc4729067978c