aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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