diff options
author | trevor <trevor@FreeBSD.org> | 2002-01-10 05:07:12 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-01-10 05:07:12 +0000 |
commit | 746723da4f31b957c52b22576f3f1fb181f5899b (patch) | |
tree | eb43601d444574a59a9f8f10406060929a6b9163 /misc | |
parent | c94e4099e4a104b6ffa24e6a5d2fdb832cbd8a9a (diff) | |
download | FreeBSD-ports-746723da4f31b957c52b22576f3f1fb181f5899b.zip FreeBSD-ports-746723da4f31b957c52b22576f3f1fb181f5899b.tar.gz |
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')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/patanjali/Makefile | 42 | ||||
-rw-r--r-- | misc/patanjali/distinfo | 1 | ||||
-rw-r--r-- | misc/patanjali/pkg-comment | 1 | ||||
-rw-r--r-- | misc/patanjali/pkg-descr | 4 |
5 files changed, 49 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 4882454..d2d4a1e 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 0000000..ef948be --- /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 0000000..b611ecf --- /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 0000000..5e7c5c3 --- /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 0000000..40eb997 --- /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 |