summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-01-10 05:07:12 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-01-10 05:07:12 +0000
commite1d1558f5bf95fa1f048bb3c13196af2237fa7de (patch)
tree73614dbae0dfe28841dcfdab48a2c4f8ddca796e /misc
parentUpdate to 0.5.8. (diff)
new port of patanjali, a fortune(6)-like program that displays at
random a verse from the Yoga Sutras of Patanjali
Notes
Notes: svn path=/head/; revision=52843
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-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
5 files changed, 49 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 4882454882f7..d2d4a1e5bb12 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -156,6 +156,7 @@
SUBDIR += p5-I18N-LangTags
SUBDIR += p5-LEGO-RCX
SUBDIR += p5-Locale-Codes
+ SUBDIR += patanjali
SUBDIR += patchutils
SUBDIR += pbs
SUBDIR += pdmenu
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