diff options
author | SADA Kenji <sada@FreeBSD.org> | 2001-08-08 06:38:05 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 2001-08-08 06:38:05 +0000 |
commit | 43ecceb0a6aca492a2933503a0d95e7ddc7d01f5 (patch) | |
tree | bfe527e845e211e6b5f95571bb965878cff06de6 /japanese/xjman-3/Makefile | |
parent | Update to 5.3.6 (diff) |
Upgrade xjman to version 0.6, this is for XFree86 4.x.
Also make a branch xjman-3, which keeps xjman-0.5. This is for XF86 3.x.
Diffstat (limited to 'japanese/xjman-3/Makefile')
-rw-r--r-- | japanese/xjman-3/Makefile | 63 |
1 files changed, 4 insertions, 59 deletions
diff --git a/japanese/xjman-3/Makefile b/japanese/xjman-3/Makefile index a7788587b8cf..af71afb772c3 100644 --- a/japanese/xjman-3/Makefile +++ b/japanese/xjman-3/Makefile @@ -1,70 +1,15 @@ -# New ports collection makefile for: X Japanese man documents -# Date created: 24 Dec 1998 -# Based on: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>'s -# japanese/man-doc +# New ports collection makefile for: X Japanese man documents for XFree86 3.x.x +# Date created: 8 Aug 2001 # Whom: SADA Kenji <sada@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= xjman PORTVERSION= 0.5 -CATEGORIES= japanese -MASTER_SITES= ${MASTER_SITE_PORTS_JP} \ - http://xjman.dsl.gr.jp/ MAINTAINER= sada@FreeBSD.org -NO_MTREE= yes -PLIST= ${WRKDIR}/PLIST -USE_BZIP2= yes +MASTERDIR= ${.CURDIR}/../xjman WRKSRC= ${WRKDIR}/man/ja_JP.eucJP -SCRIPTS_ENV+= MANSECS="${MANSECS}" -MANSECS= 1 3 5 - -post-extract: -.for i in Makefile Makefile.inc - @${CP} ${FILESDIR}/$i ${WRKSRC} -.endfor -.for sec in ${MANSECS} - (cd ${WRKSRC}/man${sec}; \ - for f in *.${sec}x; do ${CP} $$f $${f%x}; done; \ - ${PERL} -pi -e 's/^(\.so .*)x$$/$$1/' *.${sec}) -.endfor - -post-build: - @${RM} -f ${PLIST} - @for sec in ${MANSECS}; do \ - if [ -d ${WRKSRC}/man$${sec} ]; then \ - cd ${WRKSRC}/man$${sec}; \ - list=`${MAKE} pages-list`; \ - set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\) /.\1 \1 /g'`; \ - while : ; do \ - case $$# in \ - 0) break;; \ - [1]) ${ECHO} "can not happen"; break;; \ - esac; \ - ${ECHO} man/ja/man$$2/$$1.gz; shift 2; \ - done; \ - fi; \ - done|sort|uniq >>${PLIST} - @${ECHO} "@exec ${LN} -sf %D/man/ja %D/man/ja_JP.EUC" >>${PLIST} - @${ECHO} "@unexec ${RM} -f %D/man/ja_JP.EUC" >>${PLIST} - @${ECHO} "share/doc/xjman/COPYRIGHT" >>${PLIST} - @${ECHO} "share/doc/xjman/COPYRIGHT.XJDP" >>${PLIST} - @${ECHO} "@dirrm share/doc/xjman" >>${PLIST} - -pre-install: -.for sec in ${MANSECS} - @${MKDIR} ${PREFIX}/man/ja/man${sec} -.endfor - -post-install: - @${MKDIR} ${PREFIX}/share/doc/xjman -.for i in COPYRIGHT COPYRIGHT.XJDP - @${INSTALL_DATA} ${FILESDIR}/$i ${PREFIX}/share/doc/xjman/ -.endfor - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> +.include "${MASTERDIR}/Makefile" |