The famous jargon file (EPWING V1 format)
This commit is contained in:
parent
dcda47e226
commit
0e86e94165
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29826
5 changed files with 83 additions and 0 deletions
62
japanese/jargon-fpw/Makefile
Normal file
62
japanese/jargon-fpw/Makefile
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
# New ports collection makefile for: The Jargon File - JIS X 4081 format version
|
||||||
|
# Date created: 00/06/19
|
||||||
|
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= jargon-fpw
|
||||||
|
PORTVERSION= ${JG_VER}.${JGFPW_VER}
|
||||||
|
CATEGORIES= japanese
|
||||||
|
MASTER_SITES= http://plaza27.mbn.or.jp/~satomii/soft/archive/ \
|
||||||
|
http://www.tuxedo.org/~esr/jargon/
|
||||||
|
DISTNAME= jarg-fpw${JGFPW_VER}-src
|
||||||
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||||
|
jargon-${JG_VER}.tar.gz
|
||||||
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
|
|
||||||
|
MAINTAINER= taoka@FreeBSD.org
|
||||||
|
|
||||||
|
BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
|
||||||
|
catdump:${PORTSDIR}/japanese/epwutil \
|
||||||
|
nkf:${PORTSDIR}/japanese/nkf
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/jarg-fpw${JGFPW_VER}
|
||||||
|
USE_GMAKE= yes
|
||||||
|
JGFPW_VER= 1.1
|
||||||
|
JG_VER= 4.2.0
|
||||||
|
FJG_VER= 420
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
cd ${WRKSRC}; \
|
||||||
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
||||||
|
${_DISTDIR}/jargon-${JG_VER}.tar.gz \
|
||||||
|
${EXTRACT_AFTER_ARGS}
|
||||||
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
||||||
|
${WRKSRC}/jargon-${JG_VER}/jarg${FJG_VER}.gz \
|
||||||
|
> ${WRKSRC}/jarg${FJG_VER}
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${MV} ${WRKSRC}/catalogs.txt ${WRKSRC}/catalogs.txt.org
|
||||||
|
nkf -ed ${WRKSRC}/catalogs.txt.org > ${WRKSRC}/catalogs.txt
|
||||||
|
${MV} ${WRKSRC}/gaiji/halfchar.txt ${WRKSRC}/gaiji/halfchar.txt.org
|
||||||
|
nkf -ed ${WRKSRC}/gaiji/halfchar.txt.org > ${WRKSRC}/gaiji/halfchar.txt
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
cd ${WRKSRC}; \
|
||||||
|
fpwmake -f ${MAKEFILE}; \
|
||||||
|
fpwmake -f ${MAKEFILE} catalogs
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${MKDIR} ${PREFIX}/share/dict/jargon-fpw/jargon/data
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/jargon-fpw/jargon/data
|
||||||
|
${MKDIR} ${PREFIX}/share/dict/jargon-fpw/jargon/gaiji
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/gai16h ${PREFIX}/share/dict/jargon-fpw/jargon/gaiji
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/jargon-fpw
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
${MKDIR} ${PREFIX}/share/doc/jargon-fpw
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/readme.1st ${PREFIX}/share/doc/jargon-fpw
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/jargon-fpw
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
japanese/jargon-fpw/distinfo
Normal file
2
japanese/jargon-fpw/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (jarg-fpw1.1-src.tar.gz) = cbd5381b019434c7f50b80e5a98b13c8
|
||||||
|
MD5 (jargon-4.2.0.tar.gz) = 2dc5deede894a837ec69db7380eea786
|
1
japanese/jargon-fpw/pkg-comment
Normal file
1
japanese/jargon-fpw/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
The famous jargon file (EPWING V1 format)
|
8
japanese/jargon-fpw/pkg-descr
Normal file
8
japanese/jargon-fpw/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
This is the Jargon File, a comprehensive compendium of hacker slang
|
||||||
|
illuminating many aspects of hackish tradition, folklore, and humor.
|
||||||
|
Furthermore it is a dictionary converted from the original one into
|
||||||
|
JIS X 4081 format (that is a subset of EPWING V1) by FreePWING. So it
|
||||||
|
can be used by EPWING viewer on Unix and the other OS (e.g. Windows or
|
||||||
|
MacOS). URL for this converted dictionary is
|
||||||
|
|
||||||
|
WWW: http://www.sra.co.jp/people/m-kasahr/freepwing/books.html
|
10
japanese/jargon-fpw/pkg-plist
Normal file
10
japanese/jargon-fpw/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
share/dict/jargon-fpw/jargon/data/honmon
|
||||||
|
share/dict/jargon-fpw/jargon/gaiji/gai16h
|
||||||
|
share/dict/jargon-fpw/catalogs
|
||||||
|
share/doc/jargon-fpw/readme.1st
|
||||||
|
share/doc/jargon-fpw/readme.txt
|
||||||
|
@dirrm share/dict/jargon-fpw/jargon/data
|
||||||
|
@dirrm share/dict/jargon-fpw/jargon/gaiji
|
||||||
|
@dirrm share/dict/jargon-fpw/jargon
|
||||||
|
@dirrm share/dict/jargon-fpw
|
||||||
|
@dirrm share/doc/jargon-fpw
|
Loading…
Reference in a new issue