diff options
author | miwi <miwi@FreeBSD.org> | 2007-04-20 20:13:55 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-04-20 20:13:55 +0800 |
commit | 12e642dac8035654c924c26c4c688d319c6429e9 (patch) | |
tree | 9b1338d199650682a50b0656633505454e215a43 | |
parent | 14a44e68293ac789f98065ffb1d8bec4d8339ac2 (diff) | |
download | freebsd-ports-gnome-12e642dac8035654c924c26c4c688d319c6429e9.tar.gz freebsd-ports-gnome-12e642dac8035654c924c26c4c688d319c6429e9.tar.zst freebsd-ports-gnome-12e642dac8035654c924c26c4c688d319c6429e9.zip |
This package contains fortune files maked from popular russian site bash.org.ru.
Also it contains example script to keep your bash.org.ru fortunes up to date.
WWW: http://bash.org.ru
PR: ports/111932
Submitted by: dindin at dindin.ru
-rw-r--r-- | russian/Makefile | 1 | ||||
-rw-r--r-- | russian/fortune-bashorgru/Makefile | 33 | ||||
-rw-r--r-- | russian/fortune-bashorgru/distinfo | 3 | ||||
-rw-r--r-- | russian/fortune-bashorgru/pkg-descr | 4 | ||||
-rw-r--r-- | russian/fortune-bashorgru/pkg-install | 14 | ||||
-rw-r--r-- | russian/fortune-bashorgru/pkg-plist | 7 |
6 files changed, 62 insertions, 0 deletions
diff --git a/russian/Makefile b/russian/Makefile index c2c2473578e3..b4a817957cff 100644 --- a/russian/Makefile +++ b/russian/Makefile @@ -9,6 +9,7 @@ SUBDIR += aspell SUBDIR += cyrproxy SUBDIR += d1489 + SUBDIR += fortune-bashorgru SUBDIR += fortuneru SUBDIR += kde3-i18n SUBDIR += koffice-i18n diff --git a/russian/fortune-bashorgru/Makefile b/russian/fortune-bashorgru/Makefile new file mode 100644 index 000000000000..3261519679dd --- /dev/null +++ b/russian/fortune-bashorgru/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: fortune-bashorgru +# Date created: 19-04-2007 +# Whom: dindin@dindin.ru +# +# $FreeBSD$ +# + +PORTNAME= fortune-bashorgru +PORTVERSION= 20070419 +CATEGORIES= russian +MASTER_SITES= http://www.dindin.ru/download/ + +MAINTAINER= dindin@dindin.ru +COMMENT= Fortunes from bash.org.ru + +NO_BUILD= yes + +do-install: + @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}/ + @${MKDIR} ${PREFIX}/share/games/fortune/rus + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/* ${PREFIX}/share/games/fortune/rus + ${INSTALL_DATA} ${WRKSRC}/fortune-update.sh ${PREFIX}/share/examples/${PORTNAME}/ + +post-install: + @${ECHO_MSG} "" + @${ECHO_MSG} "Usage:" + @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/rus/${PORTNAME}" + @${ECHO_MSG} "" + @${ECHO_MSG} "Example script to keep your fortune up to date placed in" + @${ECHO_MSG} "${PREFIX}/share/examples/${PORTNAME}/" + @${ECHO_MSG} "" + +.include <bsd.port.mk> diff --git a/russian/fortune-bashorgru/distinfo b/russian/fortune-bashorgru/distinfo new file mode 100644 index 000000000000..c0312778198c --- /dev/null +++ b/russian/fortune-bashorgru/distinfo @@ -0,0 +1,3 @@ +MD5 (fortune-bashorgru-20070419.tar.gz) = 6479d942be79430406fc8d37311ed710 +SHA256 (fortune-bashorgru-20070419.tar.gz) = f06470395cddb86a9f58de160bb041ec5de9984cf904b4e1ba641ba95467cbc5 +SIZE (fortune-bashorgru-20070419.tar.gz) = 1222096 diff --git a/russian/fortune-bashorgru/pkg-descr b/russian/fortune-bashorgru/pkg-descr new file mode 100644 index 000000000000..42a4864bf193 --- /dev/null +++ b/russian/fortune-bashorgru/pkg-descr @@ -0,0 +1,4 @@ +This package contains fortune files maked from popular russian site bash.org.ru. +Also it contains example script to keep your bash.org.ru fortunes up to date. + +WWW: http://bash.org.ru diff --git a/russian/fortune-bashorgru/pkg-install b/russian/fortune-bashorgru/pkg-install new file mode 100644 index 000000000000..ef0a609588c6 --- /dev/null +++ b/russian/fortune-bashorgru/pkg-install @@ -0,0 +1,14 @@ +#!/bin/sh +# $FreeBSD: /tmp/pcvs/ports/russian/fortune-bashorgru/pkg-install,v 1.1 2007-04-20 12:13:55 miwi Exp $ +# + +if [ "$2" != "PRE-INSTALL" ]; then + exit 0 +fi + +if [ ! -x "/usr/games/strfile" ]; then + echo "" + echo "You must have the ``games'' distribution installed to use this port." + echo "" + exit 1 +fi diff --git a/russian/fortune-bashorgru/pkg-plist b/russian/fortune-bashorgru/pkg-plist new file mode 100644 index 000000000000..98470e94a6e6 --- /dev/null +++ b/russian/fortune-bashorgru/pkg-plist @@ -0,0 +1,7 @@ +share/games/fortune/rus/fortune-bashorgru +share/games/fortune/rus/fortune-bashorgru.dat +share/examples/fortune-bashorgru/fortune-update.sh +@dirrmtry share/games/fortune/rus +@dirrmtry share/examples/fortune-bashorgru +@dirrmtry share/games/fortune +@dirrmtry share/games |