aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2000-12-18 13:45:47 +0800
committerokazaki <okazaki@FreeBSD.org>2000-12-18 13:45:47 +0800
commitdae2cf9f60ddd075f19349cd8fa822737d03de5f (patch)
treed42f48bcc29693e9a9ac8d255df28c0b3ecb54a1 /japanese
parentb43c4b44bac2561de1b8351e61ec25b4976abe98 (diff)
downloadfreebsd-ports-gnome-dae2cf9f60ddd075f19349cd8fa822737d03de5f.tar.gz
freebsd-ports-gnome-dae2cf9f60ddd075f19349cd8fa822737d03de5f.tar.zst
freebsd-ports-gnome-dae2cf9f60ddd075f19349cd8fa822737d03de5f.zip
Fix an error on recent 4-STABLE and -CURRENT at `post-install'.
Submitted by: bento
Diffstat (limited to 'japanese')
-rw-r--r--japanese/groff/Makefile11
-rw-r--r--japanese/groff/pkg-plist2
2 files changed, 10 insertions, 3 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index d0064daa644f..ef064f607816 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -7,6 +7,7 @@
PORTNAME= groff
PORTVERSION= 0.100
+PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= groff
@@ -49,10 +50,16 @@ MAN1= ${MAN1SRC:S/^/g/g} addftinfo.1 afmtodit.1 grodvi.1 \
hpftodit.1 lkbib.1 pfbtops.1 psbb.1 tfmtodit.1
MAN5= groff_font.5 groff_out.5
MAN7= groff_char.7 groff_man.7 groff_mdoc.7 groff_mdoc.samples.7 \
- groff_me.7 groff_mm.7 groff_mmse.7 groff_ms.7 groff_msafer.7 \
+ groff_me.7 groff_mm.7 groff_mmse.7 groff_ms.7 groff_msafer.7
-TMACFILES= tmac.an tmac.andoc tmac.groff_an tmac.orig_me tmac.vgrind \
+TMACFILES= tmac.an tmac.andoc tmac.orig_me tmac.vgrind \
eqnrc troffrc
+.if exists(${TMACBASE}/tmac.groff_an)
+PLIST_SUB+= TMAC_GROFF_AN:=""
+TMACFILES+= tmac.groff_an
+.else
+PLIST_SUB+= TMAC_GROFF_AN:="@comment"
+.endif
MDOCFILES= doc-common doc-syms
LOCALEFILES= locale-list eucJP
diff --git a/japanese/groff/pkg-plist b/japanese/groff/pkg-plist
index ff4e0d96249b..e53195bcb17d 100644
--- a/japanese/groff/pkg-plist
+++ b/japanese/groff/pkg-plist
@@ -316,7 +316,7 @@ share/groff/tmac/tmac.doc
share/groff/tmac/tmac.doc.old
share/groff/tmac/tmac.dvi
share/groff/tmac/tmac.e
-share/groff/tmac/tmac.groff_an
+%%TMAC_GROFF_AN:%%share/groff/tmac/tmac.groff_an
share/groff/tmac/tmac.html
share/groff/tmac/tmac.latin1
share/groff/tmac/tmac.lj4