Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 09:18:50 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9719: New port: misc/fortuneit
Message-ID:  <4.1.19990127091503.0098e3c0@194.184.65.4>

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

>Number:         9719
>Category:       ports
>Synopsis:       New port: misc/fortuneit
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 27 00:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gianmarco Giovannelli
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Private 
>Environment:

FreeBSD gmarco.eclipse.org 4.0-CURRENT FreeBSD 4.0-CURRENT #4: Tue Jan 26
11:00:
39 CET 1999     gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO  i386

>Description:

Additional fortune files in italian language	

>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:
#
#	fortuneit
#	fortuneit/files
#	fortuneit/files/md5
#	fortuneit/pkg
#	fortuneit/pkg/COMMENT
#	fortuneit/pkg/DESCR
#	fortuneit/pkg/PLIST
#	fortuneit/pkg/PLIST.off
#	fortuneit/patches
#	fortuneit/Makefile
#
echo c - fortuneit
mkdir -p fortuneit > /dev/null 2>&1
echo c - fortuneit/files
mkdir -p fortuneit/files > /dev/null 2>&1
echo x - fortuneit/files/md5
sed 's/^X//' >fortuneit/files/md5 << 'END-of-fortuneit/files/md5'
XMD5 (fortune.it-1.51.tar.gz) = ddf609be4b7599719e25dfdaf0132619
END-of-fortuneit/files/md5
echo c - fortuneit/pkg
mkdir -p fortuneit/pkg > /dev/null 2>&1
echo x - fortuneit/pkg/COMMENT
sed 's/^X//' >fortuneit/pkg/COMMENT << 'END-of-fortuneit/pkg/COMMENT'
Xa very funny fortune file in Italian language 
END-of-fortuneit/pkg/COMMENT
echo x - fortuneit/pkg/DESCR
sed 's/^X//' >fortuneit/pkg/DESCR << 'END-of-fortuneit/pkg/DESCR'
XThis package contains a very funny fortune files in Italian language.
X
XFor further informations please read the README file
Xin the working directory (not installed).
X
X
XOriginal Homepage : http://www.pluto.linux.it/~zuse/fortune.it
XDistfile Size     : ~400kb
X
X- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
END-of-fortuneit/pkg/DESCR
echo x - fortuneit/pkg/PLIST
sed 's/^X//' >fortuneit/pkg/PLIST << 'END-of-fortuneit/pkg/PLIST'
Xshare/games/fortune/italia
Xshare/games/fortune/italia.dat
X@dirrm share/games/fortune
X@dirrm share/games
X
END-of-fortuneit/pkg/PLIST
echo x - fortuneit/pkg/PLIST.off
sed 's/^X//' >fortuneit/pkg/PLIST.off << 'END-of-fortuneit/pkg/PLIST.off'
Xshare/games/fortune/italia
Xshare/games/fortune/zozzital
Xshare/games/fortune/italia.dat
Xshare/games/fortune/zozzital.dat
X@dirrm share/games/fortune
X@dirrm share/games
X
END-of-fortuneit/pkg/PLIST.off
echo c - fortuneit/patches
mkdir -p fortuneit/patches > /dev/null 2>&1
echo x - fortuneit/Makefile
sed 's/^X//' >fortuneit/Makefile << 'END-of-fortuneit/Makefile'
X# New ports collection makefile for:   fortuneit
X# Version required:    fortune.it-1.51
X# Date created:        25-01-1999
X# Whom:                gmarco@scotty.masternet.it
X#
X# $Id$
X#
X
XDISTNAME=  fortune.it-1.51
XPKGNAME=   fortuneit-1.51
XCATEGORIES=    misc
XMASTER_SITES=  http://www.giovannelli.it/~gmarco/files/
X
XMAINTAINER=    freebsd@scotty.masternet.it
X
XNO_BUILD=       yes
X
XSTRCMD=		/usr/games/strfile
X
X.if defined(INSTALL_OFFENSIVE)
XPLIST=		${PKGDIR}/PLIST.off
X.endif
X
Xpre-fetch:
X.if !defined(INSTALL_OFFENSIVE)
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "If you want to install potentially offensive italian"
X	@${ECHO_MSG} "fortunes \"make INSTALL_OFFENSIVE=yes\""
X	@${ECHO_MSG} ""
X.else
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Potentially offensive fortunes will be installed"
X	@${ECHO_MSG} ""
X.endif
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/games
X	@${MKDIR} ${PREFIX}/share/games/fortune
X	@${INSTALL_DATA} ${WRKSRC}/italia ${PREFIX}/share/games/fortune
X.if defined(INSTALL_OFFENSIVE)
X	@${INSTALL_DATA} ${WRKSRC}/zozzital ${PREFIX}/share/games/fortune
X.endif
X
Xpost-install:
X	@${STRCMD} ${PREFIX}/share/games/fortune/italia
X.if defined(INSTALL_OFFENSIVE)
X	@${STRCMD} ${PREFIX}/share/games/fortune/zozzital
X.endif
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Usage:"
X	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/italia"
X.if defined(INSTALL_OFFENSIVE)
X	@${ECHO_MSG} "or"
X	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/zozzital"
X.endif
X	@${ECHO_MSG} ""
X.include <bsd.port.mk>
END-of-fortuneit/Makefile
exit



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco  
http://www2.masternet.it 



>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?4.1.19990127091503.0098e3c0>