aboutsummaryrefslogtreecommitdiff
path: root/russian/fortune-bashorgru
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-20 12:13:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-20 12:13:55 +0000
commit4d0c4cd69fe3e3b7a25449f3d683a110c9720e16 (patch)
tree4755771eba87a08522fec81f46f61a23e44023d0 /russian/fortune-bashorgru
parent90ae3a72cb00bfc9aedf776adf1567c9f9f2355e (diff)
downloadports-4d0c4cd69fe3e3b7a25449f3d683a110c9720e16.tar.gz
ports-4d0c4cd69fe3e3b7a25449f3d683a110c9720e16.zip
Notes
Diffstat (limited to 'russian/fortune-bashorgru')
-rw-r--r--russian/fortune-bashorgru/Makefile33
-rw-r--r--russian/fortune-bashorgru/distinfo3
-rw-r--r--russian/fortune-bashorgru/pkg-descr4
-rw-r--r--russian/fortune-bashorgru/pkg-install14
-rw-r--r--russian/fortune-bashorgru/pkg-plist7
5 files changed, 61 insertions, 0 deletions
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