Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 13:54:40 GMT
From:      Ju Pengfei <jupengfei@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141712: New port: chinese/fortune A very classic fortune file in Chinese
Message-ID:  <200912171354.nBHDse2u098483@www.freebsd.org>
Resent-Message-ID: <200912171400.nBHE0Em2005687@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141712
>Category:       ports
>Synopsis:       New port: chinese/fortune A very classic fortune file in Chinese
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 17 14:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ju Pengfei
>Release:        8.0-REALEASE-p1
>Organization:
Ju Pengfei
>Environment:
>Description:
New port: chinese/fortune A very classic fortune file in Chinese

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./pkg-plist
#	./pkg-descr
#	./distinfo
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
Xbin/fortune-sc
Xbin/fortune-tc
Xbin/fortune-zh
Xshare/fortune/zh/caigentan
Xshare/fortune/zh/caigentan.dat
Xshare/fortune/zh/caigentan.u8
Xshare/fortune/zh/dao
Xshare/fortune/zh/dao.dat
Xshare/fortune/zh/dao.u8
Xshare/fortune/zh/joke
Xshare/fortune/zh/joke.dat
Xshare/fortune/zh/joke.u8
Xshare/fortune/zh/lunyu
Xshare/fortune/zh/lunyu.dat
Xshare/fortune/zh/lunyu.u8
Xshare/fortune/zh/maoshici
Xshare/fortune/zh/maoshici.dat
Xshare/fortune/zh/maoshici.u8
Xshare/fortune/zh/maoyulu
Xshare/fortune/zh/maoyulu.dat
Xshare/fortune/zh/maoyulu.u8
Xshare/fortune/zh/proverb
Xshare/fortune/zh/proverb.dat
Xshare/fortune/zh/proverb.u8
Xshare/fortune/zh/song100
Xshare/fortune/zh/song100.dat
Xshare/fortune/zh/song100.u8
Xshare/fortune/zh/songproses
Xshare/fortune/zh/songproses.dat
Xshare/fortune/zh/songproses.u8
Xshare/fortune/zh/tang300
Xshare/fortune/zh/tang300.dat
Xshare/fortune/zh/tang300.u8
Xshare/fortune/zh/zengguang
Xshare/fortune/zh/zengguang.dat
Xshare/fortune/zh/zengguang.u8
X@dirrm share/fortune/zh
X@dirrm share/fortune
ef3e7f63841ae908ba397c2bef1fbad6
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XThis package contains classcial Chinese poems and
Xquotes from other classical Chinese literatures, 
Xlike novels, fictions and so on.
X
XWWW: http://code.google.com/p/chinese-fortune
0e313719ff012ceaf97a028d51caa8f5
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (fortune-mod-zh-1.2.2.tar.bz2) = 4a5e3ea8c58c30c4bf319c524b52cee8
XSHA256 (fortune-mod-zh-1.2.2.tar.bz2) = 79298e2f78094489e8108f608f53216924aa2e928452d0d2a3ce91ad74ca457b
XSIZE (fortune-mod-zh-1.2.2.tar.bz2) = 304978
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# New ports collection makefile for: fortune-zh
X# Date created:                17 Dec 2009
X# Whom:                        Ju Pengfei
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fortune
XPORTVERSION=	1.2.2
XCATEGORIES=	chinese
XMASTER_SITES=	http://chinese-fortune.googlecode.com/files/
XPKGNAMESUFFIX=	-zh
XDISTNAME=	fortune-mod-zh-${PORTVERSION}
X
XMAINTAINER=	jupengfei@gmail.com
XCOMMENT=	A very classic fortune file in Chinese
X
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		autob5:${PORTSDIR}/chinese/autoconvert \
X		autogb:${PORTSDIR}/chinese/autoconvert
X
XNO_BUILD=	yes
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
X		-e "s|/usr/bin/fortune|/usr/games/fortune|" \
X		${WRKSRC}/src/fortune-zh
X	@${REINPLACE_CMD} -e "s|/usr/|${LOCALBASE}/|" \
X		${WRKSRC}/src/Makefile
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171354.nBHDse2u098483>