aboutsummaryrefslogtreecommitdiffstats
path: root/misc/patanjali
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-01-10 13:07:12 +0800
committertrevor <trevor@FreeBSD.org>2002-01-10 13:07:12 +0800
commit746723da4f31b957c52b22576f3f1fb181f5899b (patch)
treeeb43601d444574a59a9f8f10406060929a6b9163 /misc/patanjali
parentc94e4099e4a104b6ffa24e6a5d2fdb832cbd8a9a (diff)
downloadfreebsd-ports-gnome-746723da4f31b957c52b22576f3f1fb181f5899b.tar.gz
freebsd-ports-gnome-746723da4f31b957c52b22576f3f1fb181f5899b.tar.zst
freebsd-ports-gnome-746723da4f31b957c52b22576f3f1fb181f5899b.zip
new port of patanjali, a fortune(6)-like program that displays at
random a verse from the Yoga Sutras of Patanjali
Diffstat (limited to 'misc/patanjali')
-rw-r--r--misc/patanjali/Makefile42
-rw-r--r--misc/patanjali/distinfo1
-rw-r--r--misc/patanjali/pkg-comment1
-rw-r--r--misc/patanjali/pkg-descr4
4 files changed, 48 insertions, 0 deletions
diff --git a/misc/patanjali/Makefile b/misc/patanjali/Makefile
new file mode 100644
index 000000000000..ef948beb01ad
--- /dev/null
+++ b/misc/patanjali/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: patanjali
+# Date created: 2002-01-09
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= patanjali
+PORTVERSION= 1.0
+CATEGORIES= misc
+MASTER_SITES= http://www.linuxlabs.com/software/download/
+EXTRACT_SUFX= .src.tar.gz
+
+MAINTAINER= trevor@FreeBSD.org
+
+PLIST= ${WRKDIR}/pkg-plist
+
+do-patch:
+ @${PERL} -pi -e 's:internet:Internet:g' \
+ ${WRKSRC}/patanjali-sutras-english.txt
+
+pre-build:
+ ${RM} -f ${WRKSRC}/patanjali
+
+do-build:
+ ${CC} -DDPPATHNAME=\"${DATADIR}/patanjali-sutras-english.txt\" \
+ -DVERSION=\"1.0\" ${WRKSRC}/patanjali.c -o ${WRKSRC}/patanjali
+
+pre-install:
+ ${ECHO} bin/patanjali > ${PLIST}
+ ${ECHO} share/patanjali/patanjali-sutras-english.txt >> ${PLIST}
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/patanjali-sutras-english.txt ${DATADIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/patanjali ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/display-sutras-patanjali-0.99.lsm ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/patanjali/distinfo b/misc/patanjali/distinfo
new file mode 100644
index 000000000000..b611ecf9d861
--- /dev/null
+++ b/misc/patanjali/distinfo
@@ -0,0 +1 @@
+MD5 (patanjali-1.0.src.tar.gz) = 01bea899f69a02cf6d5f90b48f973e2b
diff --git a/misc/patanjali/pkg-comment b/misc/patanjali/pkg-comment
new file mode 100644
index 000000000000..5e7c5c379ee8
--- /dev/null
+++ b/misc/patanjali/pkg-comment
@@ -0,0 +1 @@
+Displays a verse from Yoga Sutras of Patanjali
diff --git a/misc/patanjali/pkg-descr b/misc/patanjali/pkg-descr
new file mode 100644
index 000000000000..40eb997125bf
--- /dev/null
+++ b/misc/patanjali/pkg-descr
@@ -0,0 +1,4 @@
+This program displays at random a verse from the Yoga Sutras of
+Patanjali. It can be used similarly to fortune(6).
+
+WWW: http://www.linuxlabs.com/software/patanjali.html