freebsd-ports/japanese/groff/Makefile
Tobias C. Berner 8d9b67bc44 japanese: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  ABURAYER Rewsirow <pcs51674@asciinet.or.jp>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Daichi GOTO <daichi@FreeBSD.org>
  *  Daisuke Kawahara <kawahara@pine.kuee.kyoto-u.ac.jp>
  *  David O'Brien (obrien@cs.ucdavis.edu)
  *  Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
  *  FUJISHIMA Satsuki <sf@FreeBSD.org>
  *  Fumihiko Kimura <jfkimura@yahoo.co.jp>
  *  HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
  *  Hajimu UMEMOTO <ume@FreeBSD.org>
  *  Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
  *  Hiroto Kagotani <hiroto.kagotani@gmail.com>
  *  Hyper NIKKI System Project <hnsmaster@h14m.org>
  *  IWASHITA Yoji <shuna@pop16.odn.ne.jp>
  *  Jacques Vidrine <nectar@FreeBSD.org>
  *  Jie Gao <gaoj@cpsc.ucalgary.ca>
  *  Jonathan Hanna
  *  Jun Mukai <mukai@jmuk.org>
  *  KANOU Hiroki <kanou@mil.allnet.ne.jp>
  *  KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
  *  KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
  *  Ka Ho Ng <khng300@gmail.com>
  *  Kawaguti Ginga <ginga-freebsd@ginganet.org>
  *  Kawaguti Ginga <ginga@athena.club.ne.jp>
  *  Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
  *  Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
  *  Kimura Fuyuki <fuyuki@mj.0038.net>
  *  Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
  *  Koichiro IWAO <meta+ports@vmeta.jp>
  *  Koichiro IWAO <meta@FreeBSD.org>
  *  MANTANI Nobutaka <nobutaka@FreeBSD.org>
  *  MANTANI Nobutaka <nobutaka@nobutaka.com>
  *  MIHIRA Yoshiro <sanpei@FreeBSD.org>
  *  MITA Yoshio <mita@FreeBSD.org>
  *  Makoto Matsushita <matusita@jp.FreeBSD.ORG>
  *  Makoto Matsushita <matusita@jp.freebsd.org>
  *  Masafumi NAKANE <max@FreeBSD.org>
  *  Masahiro Teramoto <markun@onohara.to>
  *  Masanori Kiriake <seiken@nbs.co.jp>
  *  Masashi CHIBA
  *  Mita Yoshio <mita@jp.FreeBSD.org>
  *  Motoyuki Kasahara <m-kasahr@sra.co.jp>
  *  Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp>
  *  NIIMI Satoshi <sa2c@sa2c.net>
  *  Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
  *  Norikatsu Shigemura <nork@FreeBSD.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  SADA Kenji <sada@FreeBSD.org>
  *  SAITO Itsuro <saito@miv.t.u-tokyo.ac.jp>
  *  SASAKI Shunsuke <ele@pop17.odn.ne.jp>
  *  Sakai Hiroaki <sakai@miya.ee.kagu.sut.ac.jp>
  *  Satoshi TAOKA <taoka@FreeBSD.org>
  *  Satoshi Taoka <taoka@FreeBSD.org>
  *  Seiichirou Hiraoka
  *  Seiya Yanagita <s_yanagita@ybb.ne.jp>
  *  Seth Kingsley <sethk@osd.bsdi.com>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
  *  Shigeyuki Fukushima <shige@FreeBSD.org>
  *  Shin-ya MURAKAMI <murashin@gfd-dennou.org>
  *  TAKAHASHI Kaoru
  *  TAKAHASHI Kaoru <kaoru@kaisei.org>
  *  TAKANO, Yuji
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TAKATSU Tomonari <tota@rtfm.jp>
  *  TANAKA Hiroyuki <kattyo@abk.nu>
  *  TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
  *  TOGAWA Satoshi <toga@puyo.org>
  *  Takashi Mega <mega@minz.org>
  *  Takayuki Nakao <t@nakao.org>
  *  Takefu
  *  The 244th namelessness at 2ch.net
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp> & ELISA Font Project
  *  Yoichi Asai <yatt@msc.biglobe.ne.jp>
  *  Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
  *  Yoshihiko Sarumaru <mistral@imasy.or.jp>
  *  Yoshiro MIHIRA <sanpei@jp.FreeBSD.org>
  *  Yoshiro MIHIRA <sanpei@sanpei.org>
  *  Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
  *  Yukihiro Nakai <nakai@FreeBSD.org>
  *  Zhihao Yuan <lichray@gmail.com>
  *  asami
  *  gurkan@phys.ethz.ch
  *  hrs
  *  ichiro@ichiro.org
  *  issei
  *  kuriyama
  *  max
  *  mutoh@openedu.org
  *  n-shigemura@ensure.jp
  *  nivit@email.it
  *  nkazushi@highway.or.jp
  *  nork@FreeBSD.org
  *  sada
  *  shige
  *  sumikawa

With hat:	portmgr
2022-07-20 16:22:11 +02:00

76 lines
2.3 KiB
Makefile

PORTNAME= groff
PORTVERSION= 1.18.1
DISTVERSIONSUFFIX= .1
PORTREVISION= 18
CATEGORIES= japanese print
MASTER_SITES= LOCAL/hrs
DISTFILES= ${DISTNAME:S,-,_,}.orig${EXTRACT_SUFX} ${TMAC_DISTNAME}.tar.gz
PATCH_SITES= LOCAL/hrs
PATCHFILES= ${DISTNAME:S,-,_,}-21.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= hrs@FreeBSD.org
COMMENT= Japanese enhancement of GNU groff
LICENSE= GPLv2
USES= iconv:wchar_t cpe gmake makeinfo shebangfix
SHEBANG_FILES= src/utils/afmtodit/afmtodit.pl \
contrib/mm/mmroff.pl
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-multibyte
CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install install_doc
PLIST_SUB= GROFF_VERSION=${PORTVERSION}
SUB_FILES= mdoc.local
SUB_LIST= OSREL=${OSREL}
PORTDOCS= *
PORTEXAMPLES= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}/${PORTVERSION}
INFO= groff
CONFLICTS= groff heirloom-doctools # bin/groff bin/hpftodit bin/indxbib
TMAC_DISTNAME= tmac-20030521_2
TMACFILES= tmac.orig_me tmac.vgrind \
an-old.tmac doc.tmac e.tmac
MDOCFILES= ja.eucJP doc-common doc-syms
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \
${WRKSRC}/doc/groff.texinfo
post-build:
${RM} ${WRKSRC}/doc/groff ${WRKSRC}/doc/groff-*
cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo
cd ${WRKSRC} && ${FIND} font -name DESC \
| ${XARGS} ${REINPLACE_CMD} -E \
-e 's|pro +(gxditview)|pro ${LOCALBASE}/bin/\1|g;' \
-e 's|pro +([^/].*)|pro ${PREFIX}/bin/\1|g;'
post-install:
cd ${WRKDIR}/${TMAC_DISTNAME} && ${INSTALL_DATA} \
${TMACFILES} ${STAGEDIR}${DATADIR}/${PORTVERSION}/tmac
cd ${WRKDIR}/${TMAC_DISTNAME}/mdoc && ${INSTALL_DATA} \
${MDOCFILES} ${STAGEDIR}${DATADIR}/${PORTVERSION}/tmac/mdoc
${INSTALL_DATA} ${WRKDIR}/mdoc.local ${STAGEDIR}${DATADIR}/site-tmac
${INSTALL_DATA} ${WRKSRC}/doc/groff.info \
${STAGEDIR}${PREFIX}/${INFO_PATH}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} \
ChangeLog.jp NEWS PROBLEMS README README.jp ${STAGEDIR}${DOCSDIR}
for F in eqn neqn pic tbl; do \
${LN} -sf $$F ${STAGEDIR}${PREFIX}/bin/g$$F; \
done
.include <bsd.port.mk>