1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

New port: chinese/fortune A very classic fortune file in Chinese

PR:		ports/141712
Submitted by:	Ju Pengfei <jupengfei gmail com>
This commit is contained in:
Xin LI 2009-12-18 02:06:31 +00:00
parent 46c4e0a5e2
commit b9d2b2648b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246098
5 changed files with 80 additions and 0 deletions

View File

@ -39,6 +39,7 @@
SUBDIR += firebird
SUBDIR += fireflyttf
SUBDIR += font-std
SUBDIR += fortune
SUBDIR += fortunetw
SUBDIR += fqterm
SUBDIR += gb2jis

33
chinese/fortune/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: zh-fortune
# Date created: 17 Dec 2009
# Whom: Ju Pengfei
#
# $FreeBSD$
#
PORTNAME= fortune
PORTVERSION= 1.2.2
CATEGORIES= chinese
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= zh-
DISTNAME= fortune-mod-zh-${PORTVERSION}
MAINTAINER= jupengfei@gmail.com
COMMENT= A very classic fortune file in Chinese
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
autob5:${PORTSDIR}/chinese/autoconvert
PROJECTHOST= chinese-fortune
NO_BUILD= yes
USE_GMAKE= yes
USE_BZIP2= yes
post-patch:
@${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
-e "s|/usr/bin/fortune|/usr/games/fortune|" \
${WRKSRC}/src/fortune-zh
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \
${WRKSRC}/src/Makefile
.include <bsd.port.mk>

3
chinese/fortune/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (fortune-mod-zh-1.2.2.tar.bz2) = 4a5e3ea8c58c30c4bf319c524b52cee8
SHA256 (fortune-mod-zh-1.2.2.tar.bz2) = 79298e2f78094489e8108f608f53216924aa2e928452d0d2a3ce91ad74ca457b
SIZE (fortune-mod-zh-1.2.2.tar.bz2) = 304978

View File

@ -0,0 +1,5 @@
This package contains classcial Chinese poems and
quotes from other classical Chinese literatures,
like novels, fictions and so on.
WWW: http://code.google.com/p/chinese-fortune

38
chinese/fortune/pkg-plist Normal file
View File

@ -0,0 +1,38 @@
bin/fortune-sc
bin/fortune-tc
bin/fortune-zh
%%DATADIR%%/zh/caigentan
%%DATADIR%%/zh/caigentan.dat
%%DATADIR%%/zh/caigentan.u8
%%DATADIR%%/zh/dao
%%DATADIR%%/zh/dao.dat
%%DATADIR%%/zh/dao.u8
%%DATADIR%%/zh/joke
%%DATADIR%%/zh/joke.dat
%%DATADIR%%/zh/joke.u8
%%DATADIR%%/zh/lunyu
%%DATADIR%%/zh/lunyu.dat
%%DATADIR%%/zh/lunyu.u8
%%DATADIR%%/zh/maoshici
%%DATADIR%%/zh/maoshici.dat
%%DATADIR%%/zh/maoshici.u8
%%DATADIR%%/zh/maoyulu
%%DATADIR%%/zh/maoyulu.dat
%%DATADIR%%/zh/maoyulu.u8
%%DATADIR%%/zh/proverb
%%DATADIR%%/zh/proverb.dat
%%DATADIR%%/zh/proverb.u8
%%DATADIR%%/zh/song100
%%DATADIR%%/zh/song100.dat
%%DATADIR%%/zh/song100.u8
%%DATADIR%%/zh/songproses
%%DATADIR%%/zh/songproses.dat
%%DATADIR%%/zh/songproses.u8
%%DATADIR%%/zh/tang300
%%DATADIR%%/zh/tang300.dat
%%DATADIR%%/zh/tang300.u8
%%DATADIR%%/zh/zengguang
%%DATADIR%%/zh/zengguang.dat
%%DATADIR%%/zh/zengguang.u8
@dirrm %%DATADIR%%/zh
@dirrm %%DATADIR%%