Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  4 Dec 2001 22:56:43 +0800 (CST)
From:      Statue <statue@softwareliberty.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32504: New port: chinese/fortunetw
Message-ID:  <20011204145643.A95047526@softwareliberty.org>

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

>Number:         32504
>Category:       ports
>Synopsis:       New port: chinese/fortunetw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 04 07:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 9 02:45:16 CST 2001 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/FREEBSD i386


	
>Description:
This package contains a very classic fortune file in Taiwan.

For further informations please read the README file
in the working directory (not installed).

	
>How-To-Repeat:
	
>Fix:

# 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:
#
#	fortunetw/
#	fortunetw/Makefile
#	fortunetw/distinfo
#	fortunetw/pkg-comment
#	fortunetw/pkg-descr
#	fortunetw/pkg-plist
#
echo c - fortunetw/
mkdir -p fortunetw/ > /dev/null 2>&1
echo x - fortunetw/Makefile
sed 's/^X//' >fortunetw/Makefile << 'END-of-fortunetw/Makefile'
X# New ports collection makefile for:   fortunetw
X# Date created:                10 Mar 2001
X# Whom:                        Shen Chuan-Hsing
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	fortunetw
XPORTVERSION=	1.0
XCATEGORIES=	chinese
XMASTER_SITES=	http://freebsd.sinica.edu.tw/~statue/
XDISTNAME=	zh-fortunetw-${PORTVERSION}
X
XMAINTAINER=	statue@freebsd.sinica.edu.tw
X
XNO_BUILD=	yes
X
XSTRCMD=		/usr/games/strfile
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/games
X	@${MKDIR} ${PREFIX}/share/games/fortune
X	@${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune
X	@${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune
X
Xpre-install:
X.if !exists(${STRCMD})
X	@ ${ECHO_MSG}	"Please install the games distribution"
X	@ exit 1
X.endif
X
Xpost-install:
X	@${STRCMD} ${PREFIX}/share/games/fortune/tangshi
X	@${STRCMD} ${PREFIX}/share/games/fortune/yijing
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Usage:"
X	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/tangshi"
X	@${ECHO_MSG} "or"
X	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/yijing"
X	@${ECHO_MSG} ""
X
X.include <bsd.port.mk>
END-of-fortunetw/Makefile
echo x - fortunetw/distinfo
sed 's/^X//' >fortunetw/distinfo << 'END-of-fortunetw/distinfo'
XMD5 (zh-fortunetw-1.0.tar.gz) = 7b400d8994284ecd5b74aeaf0885693c
END-of-fortunetw/distinfo
echo x - fortunetw/pkg-comment
sed 's/^X//' >fortunetw/pkg-comment << 'END-of-fortunetw/pkg-comment'
XA very classic fortune file in Taiwan
END-of-fortunetw/pkg-comment
echo x - fortunetw/pkg-descr
sed 's/^X//' >fortunetw/pkg-descr << 'END-of-fortunetw/pkg-descr'
XThis package contains a very classic fortune file in Taiwan.
X
XFor further informations please read the README file
Xin the working directory (not installed).
X
XDistfile Size: ~60kb
X
X- statue (statue@freebsd.sinica.edu.tw)
END-of-fortunetw/pkg-descr
echo x - fortunetw/pkg-plist
sed 's/^X//' >fortunetw/pkg-plist << 'END-of-fortunetw/pkg-plist'
Xshare/games/fortune/tangshi
Xshare/games/fortune/tangshi.dat
Xshare/games/fortune/yijing
Xshare/games/fortune/yijing.dat
X@dirrm share/games/fortune
X@dirrm share/games
END-of-fortunetw/pkg-plist
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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